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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rogue item in Access VBE report list

Status
Not open for further replies.

TrekBiker

Technical User
Nov 26, 2010
330
GB
An item has been appearing in the Reports list of the VB Editor window, the one starting ~TMPCLP below

Capture_p4lhkm.jpg


It related to a report that was changed, updated and renamed a while ago but the Remove option is greyed out.

How can I remove it?
 
Is it still here after Compac&Repair?

combo
 

Yes, and have decompiled/recompiled. I also created a query to list all reports using this, and it didn't include the rogue name

Code:
SELECT MSysObjects.Name
FROM MsysObjects
WHERE (Left$([Name],1)<>"~") AND 
(MSysObjects.Type)= -32764
ORDER BY MSysObjects.Name;

 

I've also created a blank database and imported all objects into it. No rogue now!

Questions remain where it is in the original and how to delete it, as this would be a quicker solution.
 
Life is a lot simpler if you just accept some things are easier to fix than explain. Such is any kind of file or data corruption in access. Just do what it takes to fix it, move on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top