Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot use variable with Inlist()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01009225
Message ID:
01009341
Vues:
17
Is there some environment setting that could keep it from working?

>>Doesn't work, I tried and get a syntax error. Remember, using 6.0sp5, I hope that's not the issue.
>>
>>
>>>Try:
Inlist (fieldname, &lcValues)
HTH
>>>
>>>>Does anyone know why a variable cannot be used with Inlist(fieldname,lcValues)? Where lcValues = '"DEP 17052","DEP 0944","05232"'.
>
>Chuck,
>
>I don't have Version 6 available but I just tried it in 5 and 9 and they both work.
>
>I notice in the example above that there is a space beteen INLIST and (. That would probably throw a syntax error.
>
>HTH,
Extreme Programming = Plan -> Design -> Code -> Test
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform