Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with Inlist Command
Message
 
 
To
12/11/2008 12:01:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01361411
Message ID:
01361412
Views:
20
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform