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:
01009419
Vues:
15
>I am trying to do a "brow for inlist(field,&lcValue)"
>I get "Function argument value, type, or count invalid"
>when I type in the values it works, I don't get it.

Are you absolutely sure about the contents of lcValue?

If you have a leading or trailing comma in the string, then you would get that error.

In other words:

lcValue=["DEP 10752","DEP 0944",]
browse for inlist(field,&lcValue) &&Error

There may be other issues with making sure your quotes are all closed, etc.

--Brad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform