Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 Inlist Problem
Message
From
31/12/1996 15:56:47
 
 
To
31/12/1996 15:01:29
Linda Morgan
Garden City Community College
Garden City, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00016248
Message ID:
00016260
Views:
33
>>>I just installed VFP 5.0 and have upgraded a project from VFP 3.0. One of my forms has an Inlist statement in the VALID of one of my comboboxes.
>>>
>>>IF INLIST(myformset.form1.txtSection.Value,"3715","3716")) AND IF INLIST(myformset.form1.Value,"02", "03", "04", "05", "06", "37","38", "39", "40"))
>>>
>>>VFP 5.0 won't compile this. Anyone see what the problem is?
>>>
>>>Thanks.
>>>
>>>Linda
>>
>>The second *IF* may be one problem. Try:
>>IF INLIST(myformset.form1.txtSection.Value,"3715","3716")) AND INLIST(myformset.form1.Value,"02", "03", "04", "05", "06", "37","38", "39", "40"))
>
>Glenn
>
>Worked great. I guess 5.0 picked up the language error when 3.0 didn't!
>Thanks!
>
>Linda

VFP 5.0 does a much better job at catching syntax errors.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform