>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!
Joe,
Your statement does not do anything, ie
thisform.labelbase1.Caption = "" is a logical value, not an assignment
thisform.labelbase1.Caption =iif( lltranslate, 'aa', 'bb')
Gregory