I have this object with many textbox. All textbox are bound to a field. Ex:ControlSource=”MyAlias.MyField1” but in some case I need to change the alias to “IsAlias”.
If I change the alias in the init() of the object I get a error because the alias “MyAlias” do not exist.
Where is the best place to control the alias of controlsource?
Passable solution:
Having a subclass of the object with all control source change to the alias “IsAlias”.
Coding the controlsource from the init() of the object for the right alias with a parameter.
Using a cursor object in the form and control it from the loadevent() of the form.
Any one can help me with this one!