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!

MS Access global change of fieldnames 1

Status
Not open for further replies.

Horry

Programmer
Feb 9, 2001
6
TH
Is there a way to change fieldnames in an Access database (forms, reports, VB scripts) globally. I have thousands of changes to make and a global change function would be great.
 
There is no specific Global search and replace in Ms. Access, but 'rolling your own' isn't very hard.

Just itterate through the collections - down to the specific doc. level. Open eack/every one and parse each object for your old field name, replace w/ the new.


If it is a large project, it would be worth it.

Seperatly, WHY would you do such a thing? If the process works, I would adopt the old adage "If it ain't broke - DON'T Fix IT!"



MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top