Geordie2008
Registered User.
- Local time
- Today, 17:43
- Joined
- Mar 25, 2008
- Messages
- 177
Does anyone have any thoughts on how to do the following:
I currently have code that loops through all of the fields on my form and sets them to enabled or diabled.
I would prefer to hold this logic in a seperate table and loop through the table. All field names will be in the table and an "enabled" column will be set to either Y or N and the code will then set the logic dependent upon this.... (makes it easier to maintain than code as the user keeps adding in fields and the VBA maintanence is torturing me!)
Anyone got any database example that do anything similar....
I like the idea, but have no idea how to start!
Thank you.
I currently have code that loops through all of the fields on my form and sets them to enabled or diabled.
I would prefer to hold this logic in a seperate table and loop through the table. All field names will be in the table and an "enabled" column will be set to either Y or N and the code will then set the logic dependent upon this.... (makes it easier to maintain than code as the user keeps adding in fields and the VBA maintanence is torturing me!)
Anyone got any database example that do anything similar....
I like the idea, but have no idea how to start!
Thank you.