Link to home
Start Free TrialLog in
Avatar of Mark1110
Mark1110

asked on

Search 100 Queries For Table Name

Hi,

I am using Access 2003. I am trying to set up a test environment by copying the access database to a test subdirectory. I have an ODBC connection to a DB2 database called DB2Prod which is the production database. I created another ODBC connection called DB2Test which points to the test database. There are several queries that reference DB2Prod. I would to do a search and replace on all the queries and change all instances of DB2Prod to DB2Test. Is there a way of doing this without opening up all 100 queries?

Thanks,

Mark
Avatar of Rabmis
Rabmis
Flag of Belarus image

You should use find and replace functionality. You can find many free programs for this in google.

Ayway, best practices when connection name stored in configuration file and then you can easely change ODBC connection name.
ASKER CERTIFIED SOLUTION
Avatar of jefftwilley
jefftwilley
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial