Solved

global replace of form name in multiple queries

Posted on 2008-10-14
3
164 Views
Last Modified: 2013-11-28
I've inherited a db and would like to change the name of one of the forms that is used to run multiple reports. However, the form name is used in multiple queries. Is there a way to do a global replace of the form name in all affected queries?

Thanks
0
Comment
Question by:Scott Helmers
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
ID: 22716194
You'll want to use a Find and Replace tool, like the one from Rick Fisher: www.rickworld.com. Access has a builtin F&R, but it won't work with query SQL. MZ-Tools has one as well, but I'm not sure it works on queries either: www.mz-tools.com
0
 
LVL 30

Author Comment

by:Scott Helmers
ID: 22717636
Perfect answer -- Rick Fisher's find and replace did the trick. Funky UI but highly functional code.

I'm also glad to know that I hadn't overlooked a built-in Access function that did this.

Thanks,
Scott
0
 
LVL 30

Author Closing Comment

by:Scott Helmers
ID: 31506068
Terrific answer -- spot on.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now