>>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"))
may just be a typo here, but you have if inlist(...)) and if inlist(...))