Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Iif not returning a variable
Message
From
28/08/2006 12:19:50
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01149052
Message ID:
01149068
Views:
9
>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?

IIF returns values. It looks like you tried to make it conditionally execute code.
Previous
Reply
Map
View

Click here to load this message in the networking platform