Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with IIF Statement
Message
 
 
To
29/10/2002 12:55:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00716518
Message ID:
00716523
Views:
13
thisform.labelbase1.Caption = IIF(lltranslate, "A","B")
>This seems like it should be simple enough to do, yet I am having problems. I am trying to set the text for a label dynamically using an IIF statement. I don't get an error message with the statement, but it isn't working either. If I use and IF...ENDIF the code works fine, but it just looks so much more messy and complex then. Can someone take a look at this and help me figure out why it isn't working....
>
>IIF(lltranslate, thisform.labelbase1.Caption = "",thisform.labelbase1.Caption = "")
>
>TIA!
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform