Solved

Applying a naming convention to an existing project

Posted on 2011-09-04
3
288 Views
Last Modified: 2012-05-12
In an effort to 'clean up' my code and forms, I would like to apply a naming convention to all objects in the current project, renaming existing controls, forms, tables, querys, code modules, and subroutines and functions.

Is there a 'simple' way for doing this that will catch ALL references.  For instance, if I rename a form from Form1 to frmMainForm, and there is code or macros referencing the Form1 name, how can I be sure that all references are changed?
0
Comment
Question by:callstate
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Expert Comment

by:TinTombStone
ID: 36481463
Try: Edit, Replace

It will allow you to find and replace within the current procedure, module or project
0
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 36481508
Find and replace from Rick Fisher:


Www.rickworld.com


Well worth the money.    There is also across ref utility that let's you find all un-used objects


Jim
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 250 total points
ID: 36481574
Just an additional word on Rick Fisher's Find & Replace.  Specifically, you want:

http://www.rickworld.com/products.html#Find%20and%20Replace%209.0

and I guarantee you F&R will find ALL references in ANY object, including queries where a Form may be referenced, etc.

And yest ... this is the 'simple' way.  
"how can I be sure that all references are changed?"
Because this product works.  I use it daily.

mx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

718 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