wallis1905
Registered User.
- Local time
- Today, 23:47
- Joined
- Mar 13, 2007
- Messages
- 46
Hello all,
Hope somebody can help with this. I am currently trying to tidy up a large messy database. I am standardising the naming convention for tables and queries etc, as they are a mess. I want to create a form with some code perhaps, that will allow me to change the name of a query etc, and automatically update the name change into any dependant queries, Reports, Lookups.
So far I have managed to do just this for Queries, but not the others. I can select an entity from a combo box, and enter its new name in a text box. I then find and replace all sql statements swaping the old name with the new name.
Anybody know how to drill into the rowsource property of a report, or lookup( in a table) and find replace that string?Preferably without opening each table,/Report to check rowsources. This must have been done before but cant seem to find it. Pretty useful tool if possible.
Any help is greatly appreciated.
Hope somebody can help with this. I am currently trying to tidy up a large messy database. I am standardising the naming convention for tables and queries etc, as they are a mess. I want to create a form with some code perhaps, that will allow me to change the name of a query etc, and automatically update the name change into any dependant queries, Reports, Lookups.
So far I have managed to do just this for Queries, but not the others. I can select an entity from a combo box, and enter its new name in a text box. I then find and replace all sql statements swaping the old name with the new name.
Anybody know how to drill into the rowsource property of a report, or lookup( in a table) and find replace that string?Preferably without opening each table,/Report to check rowsources. This must have been done before but cant seem to find it. Pretty useful tool if possible.
Any help is greatly appreciated.