>form. My ideas are as follows:
>Textboxes, spinners, lists, etc., have a custom property called datafield.
>This property is filled at design time with the value that would normally
>reside in controlsource. There is another property called editmode. (This
>is toggled in the add/edit/save/undo methods, just like form.editmode. The
>controlsource property is left empty. The refresh event of the classes:
>
>this.value = eval(this.datafield)
>
Just another idea: for every alias involved in a form, create an object
oAlias on the form. Then just
Select the_alias
Scatter Blank name oAlias
Every control could then have controlsource oAlias.fieldname. At save
time we could either
Insert into the_alias from name oAlias
or
gather from name oAlias
depending on what we do (insert or update). What do you think of this?