General information
Category:
Forms & Form designer
>>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
>LINDA,
>I THINK YOUR PROBLEM IS WITH THE LEFT HAND PAREN'S ))
>YOU ONLY NEED ONE. YOU MUST ALWAYS HAVE EQUAL NUMBERS OF RIGHT AND LEFT HAND PAREN'S
>BOB
Bob, Graig and Glenn:
Between the comma, parenthesis, and extra IF statement, it's working great! 5.0 has features that I used to wonder why 3.0 didn't have. Nice to see it hit the market! Happy New Year!
Linda
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only