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 TRY STATEMENT AS FOLLOWS:
IF (INLIST(MYFORMSET.FORM1.TXTSECTION.VALUE,"3715","3716") AND INLIST(MYFORMSET.FORM1.VALUE,"02","03","04","05","06","37","38","39","40"))
THERE WAS ALSO A TYPO THERE WAS A COMMA AFTER YOUR FIRST MYFORMSET INSTEAD OF PERIOD.
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