Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I shorten code this?
Message
 
À
07/01/2000 10:40:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00314481
Message ID:
00314656
Vues:
25
>IF INLIST("Y",my_field1,my_field2,my_field3.....on to whatever

Heh -- didn't think this would work until I tried it. I always use INLIST() the other way -- IF INLIST(lcMonth, "January", "February", "etc...").

One problem: if my_fieldn is wider than 1, it will fail with SET EXACT OFF, but it will work with SET EXACT ON.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform