Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot use variable with Inlist()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01009225
Message ID:
01009466
Views:
17
Chuck,

It's much easier to spot errors like that if you use square brackets as string delimiters.
lcValues = ["DEP 17052","DEP 0944","05232"]
>You both were right, in building the lcValue string I did not have a single quote at the front or back. The below example shows the 2 extra quotes at both ends, that was it.
>
>Thanks for the brain jolt, its terrible getting old.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform