Solved

Can I safely delete vba modules starting with form_~TMPnnn and where did they come from?

Posted on 2011-09-27
11
240 Views
Last Modified: 2012-05-12
I have a number of modules in my project that start with form_~TMPnnnnnn or report_~TMPnnnnn.  I think I can safely assume they were at one time temporary but what created them and can I safely delete them?

Thanks
0
Comment
Question by:ErinRad
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 75
ID: 36712254
I would visually look at what is in those modules, then decide.  I would *seem* so ... but .....?

mx
0
 
LVL 57
ID: 36712311
Never heard or seen anything like that.  This is an ADP project?

I would first BACKUP, then try a compact and repair.  If they really are temp objects, the C&R should get rid of them.

Jim.
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 36712317
before deleting, try to compact/repair db
they should go away...
0
 
LVL 75
ID: 36712355
They could be temp modules installed by a 3rd party addin.  I have a SQL editor that taps into the query grid, as well as in VBA ... and it installs a temp vba module with a similar type of name.

mx
0
 

Author Comment

by:ErinRad
ID: 36712449
Well, I compacted/repaired and the little devils are still there.  I'll have to do this the old-fashioned way... backup, delete, test, ...  Also interested in the 3rd party add in.  Before going to Office 2010 I used a 3rd party object dependency browser.  Will investigate.  Thanks.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 75
ID: 36712504


"backup, delete, test,"

backup, delete, Compact & Repair (to really delete),  Compile ... errors ?
Also, why not just look at the modules ?

mx
0
 
LVL 57
ID: 36712573
<<Before going to Office 2010 I used a 3rd party object dependency browser. >>

 I think mx got it and that's probably it.  Find and Replace (another add-in) leaves some temp tables behind as well.

Jim.
0
 
LVL 75
ID: 36712634
" Find and Replace (another add-in) leaves some temp tables behind as well."
Yes, but ... there is an F&R option to put all of that in a separate FR mdb, which actually makes the searches faster - and leaves nothing behind.

This is the SQL Editor - very cool.

http://www.aadconsulting.com/ezysql.html

mx
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 50 total points
ID: 36712663
0
 

Author Comment

by:ErinRad
ID: 36712674
To DatabaseMX:  I will look at each module before I delete (compact again) & test it just that there are more than a few of them.  

Interestingly, when I right click on the procedure name the menu option for Removing the form of the same name is disabled, but if I select View Object from that same menu it opens the object with the TMP name.
0
 

Author Closing Comment

by:ErinRad
ID: 36712889
Bingo!  Thanks, DatabaseMX.
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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

910 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

18 Experts available now in Live!

Get 1:1 Help Now