General information
Category:
Forms & Form designer
>I tried IIF(myvar,"Title1","Title2") in the form caption.
>I also tried &IIF(myvar,"Title1","Title2")
>It was as is in the window, it wasn't changed to "Title1" or "Title2".
>
>What did I missed ?
>
>THanks
>eric
Try:
=IIF(myvar,"Title1","Title2")
Also, when is myvar in scope? You might want to do this in the init...
This.Caption = iif( myVar, "Title1", "Title2" )
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only