Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I shortcut this code?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How can I shortcut this code?
Divers
Thread ID:
00316384
Message ID:
00316384
Vues:
54
I have some fields in a table. I want to check this bunch of fields to see if they are all EMPTY(). What's the best way to do it? Maybe I need to use EMPTY() instead? But I was comparing one after another and it was not very efficient. Thanks in advance.

IF INLIST(EMPTY(something here?),ADDLINE1,ADDLINE2,CITYADDR, ;
STATEADDR,ZIP,HPHONE,WPHONE,WEXT,CPHONE,PAGER,FPHONE)
...(condition if .T.)
...
ELSE
...(condition if .F.)
ENDIF
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform