I created a form with like 100 buttons and 500 rectangles using code.
Reason for building the form using code is, that I'm in full control of what the events trigger, namingconvention, control type ID's.
I switch to design mode for creating the form (no MDE capabilities). The final environment needs to run in mde.
For saving multiple layouts (imaging the buttons are tables and the rectangles are areas and niches in an outside terrace, so each button stands for a table on a terrace). I write the location on the form, height, width, visibility, etc etc of the controls to a database table.
Accessing a saved map leads to reading an access table AND going through each control on the form.
How to have that "in sync". I mean accessing the control and looping through a recordset to have the controls formatted and put in position.
Is there a better way to approach this?
Thx
Reason for building the form using code is, that I'm in full control of what the events trigger, namingconvention, control type ID's.
I switch to design mode for creating the form (no MDE capabilities). The final environment needs to run in mde.
For saving multiple layouts (imaging the buttons are tables and the rectangles are areas and niches in an outside terrace, so each button stands for a table on a terrace). I write the location on the form, height, width, visibility, etc etc of the controls to a database table.
Accessing a saved map leads to reading an access table AND going through each control on the form.
How to have that "in sync". I mean accessing the control and looping through a recordset to have the controls formatted and put in position.
Is there a better way to approach this?
Thx