Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with Inlist Command
Message
 
 
À
12/11/2008 12:01:10
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01361411
Message ID:
01361412
Vues:
21
>My String wList = "'A','B','C','T'"
>
>My code string IF NOT INLIST(SUBSTR(getRecordQuery.ordno,3,1),wList) Then ... EndIf
>
>This Inlist call does not seem to use the wList String.

It uses wList as one value not a list. Use macro substitution
IF NOT INLIST(SUBSTR(getRecordQuery.ordno,3,1),&wList)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform