>I have a base form where in properties window I set a value for a custom property:
>=IIF(!ThisForm.plTest, '123','456') for ThisForm.pcTest1.
>The default value for ThisForm.plTest = .F.
>In concrete form I set ThisForm.plTest = .T. but at run time ThisForm.pcTest1 = '123'. What helps is if I at design time open concrete form and click on =IIF(!ThisForm.plTest,'123','456')expression line (gets bold). Is there any way to have VFP evaluate values properly without these design machinations?
>Thanks Mark
Mark, write it as:
=eval("IIF(!ThisForm.plTest, '123', '456')")
and it will work.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison