Assign it in the init event: Thisform.caption=iif(True,[Caption 1],[Caption2])
I wonder if caption is a literal property?
>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
Imagination is more important than knowledge