How to Delete TMPCLP files (1 Viewer)

byTimber

Registered User.
Local time
Yesterday, 22:02
Joined
Apr 14, 2012
Messages
97
Does anyone know how to get rid of the list of files in my database which are labelled <Form_~TMPCLPetc.> ?

They appear when in Code view in the nav pane and don't seem to be required.

Thanks....
 

PeterF

Registered User.
Local time
Today, 07:02
Joined
Jun 6, 2006
Messages
295
Do a compact and repair, they look like deleted forms.
Access keeps the deleted stuf until you do a compact an repair.
 

byTimber

Registered User.
Local time
Yesterday, 22:02
Joined
Apr 14, 2012
Messages
97
PeterF thanks for reply but they are still there after a compact and repair.

Best wishes, Roger ..
 

niiiiicole

New member
Local time
Yesterday, 22:02
Joined
Apr 19, 2012
Messages
1
You get TMPCLP files when there is a broken link. For example, if you create a query based on a table and later on you delete that table but not the query, you will get a TMPCLP file. To know which tables are missing, you can click on Database Tools, Object Dependencies.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 13:02
Joined
May 7, 2009
Messages
19,248
untested.

Public Sub DelTempTable()
Dim t As Dao.Tabledef
Dim db As Dao.Database

Set db=CurrentDb
For Each t In db.TableDefs
If Instr(t.Name,"~") > 0 Then db.TableDefs.Delete t.Name
Next
set db=nothing
End Sub
 

silentwolf

Active member
Local time
Yesterday, 22:02
Joined
Jun 12, 2009
Messages
575
untested.

Public Sub DelTempTable()
Dim t As Dao.Tabledef
Dim db As Dao.Database

Set db=CurrentDb
For Each t In db.TableDefs
If Instr(t.Name,"~") > 0 Then db.TableDefs.Delete t.Name
Next
set db=nothing
End Sub
Hey I found this thread but it does not do the trick unfortunatelly .(

Not sure how you can add the link to those two threads..
 

Users who are viewing this thread

Top Bottom