Ghost form: FORM_~TMPCLP169771

MSingh
3StarLounger
Posts: 366
Joined: 12 May 2010, 06:49

Ghost form: FORM_~TMPCLP169771

Post by MSingh »

Hi,

A strange one this:
FORM_~TMPCLP169771 appears under Microsoft Access Class Objects (with the forms i created) but not in the navigation pane.

If i add code to the form, the form is visible in design view but still not in the navigation pane.

If i try to delete the object with
DoCmd.DeleteObject acForm, "Form_~TMPCLP169771"
I get the Runtime Error 7874:
"Microsoft Office Access can't find the object 'Form_~TMPCLP169771'

Compact & Repair does not work either.

Your assistances are appreciated.
Thanking you
Mohamed

User avatar
HansV
Administrator
Posts: 78479
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Ghost form: FORM_~TMPCLP169771

Post by HansV »

I'd create a new database, and import all database objects from the "problem" database except ~TMPCLP169771 into the new database.
Keep the old one as backup, and work with the new one.
Best wishes,
Hans

Mark L
3StarLounger
Posts: 331
Joined: 11 Feb 2010, 03:55
Location: Land O Lakes, FL

Re: Ghost form: FORM_~TMPCLP169771

Post by Mark L »

MSingh wrote:Hi,

A strange one this:
FORM_~TMPCLP169771 appears under Microsoft Access Class Objects (with the forms i created) but not in the navigation pane.
Access normally substitutes the "~" symbol for the first letter of an object when you delete it,which is why you can't see it in the db window. But I was under the impression in permanently deleted the object when you closed the db.
Mark Liquorman
Land O Lakes, FL
see my website http://www.liquorman.net for Access Tips and Tricks, and for my Liquorman Utilities.