Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Iif not returning a variable
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01149052
Message ID:
01149104
Views:
9
Timothy,

It was returning the evaluation of the logical expressions zyear="2006" or zyear="2007" depending on the value of your radiobutton.


>AH, that was it, thanks.
>>>I have IIF(thisform.OPTIONGROUP1.value=1,zyear="2006",zyear="2007")
>>>
>>>When the optiongroup.value equals 1, zyear is blank rather then '2006', I am troubled by this or do I have it backwards?
>>
>>
>>zyear = IIF(thisform.OPTIONGROUP1.value=1,"2006","2007")
>>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform