>Can I do an IIF statement in a textbox.controlsource? Further, can that IIF statement call a UDF which passes a value back to the control source for display on the screen?
>
>Thanks, Randy
From the property sheet, no (Data Source for this object must be a variable reference). From the Init method I was able to do:
this.ControlSource = IIF(condition,'FirstVar','SecondVar')
and it was accepted and updated the proper variable.