Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing field names in an existing DB 1

Status
Not open for further replies.

DanielleH

Programmer
Jun 5, 2001
9
US
I am modifying an Access DB and I need to change all references to the word "Consultant" to "Adviser". This word is in many field and table names, plus about 50 queries and 20 reports rely on this data. My question is: Is there any efficient way of going through a database and changing one word to another other than using "Find"?
I tried doing it the slow way (going through each query, etc and substituting the words manually and using the find button), however there are all sorts of errors!
 
Hi!

MS Access 2000 (I'm not sure about Access 97) make changes in the queries based on changed tables automaticaly. Accordingly you can change only field names and/or table names - wherewithal all queries will be changed automaticaly. If you have VBA codes which include changed field and/or table names you may change these manualy (use <Replace All> with option <Current Project>). Hereto you must change control sources in the forms and reports.
Of course, you can write complicate program for upgrade your application but I think it's not worth one's while.

Aivars
 
Another soloution is &quot;SpeedFerret&quot; this is a commercial package, with &quot;Industrial Strength&quot; capability - and corresponding PRICE TAG. BUT it WILL do the job!


MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
Thanks so much everyone! PaulF, that Add-In worked like a charm! You are my hero! :eek:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top