Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement