
Originally Posted by
Micron
So here is what I would consider doing if there aren't too many controls whose names you would want to change, and you're willing to do the up front work assuming the need is great enough for you. First, as mentioned in this thread, interaction between the user and database should be with forms and reports, not queries and tables. So with that in mind, you could create a table to hold each control label caption and read it on form opening. When you change the value in the table, your label will assume the new name. One advantage would be that when you effect a change, you would not have to deploy a new front end each time. However, if the changes would be infrequent, you might as well just agree on the changes, make them in design view, then redeploy.
If you go the table route, you will probably need fields for form name (to easier identify which form contains it), label name and label caption (the text you see) and maybe a notes field. You would retrieve them in code during form's open event, likely using a function that, for each control, if type=acLabel then lookup the caption in the table where the table label name = the form label name. If each label does not have a table entry, you will have to trap this (and probably other) errors.