Run a compact and repair. See if that helps. I think this flushes out that temp info.
also
http://www.access-programmers.co.uk/forums/showthread.php?t=237902
It doesn't work, I already tried that one.
I'll work on this, dowsn't seem to work as yet.
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
Thanks
They are not tables according to your jpg. They appear to be reports??
I am surprised they were not removed via Compact and Repair.
Often any object beginning ~ is a "deleted" version of something and would be purged with C&R.
Can you go to design view or report view?
In the Immediate Window, I executed:
I did this manually for each instance of these TMPCLP Forms.Code:DoCmd.DeleteObject acForm, "~TMPCLP385211"
Before discovering this, I backed up, repaired/compact, decompile, recompile. (The Works) To no avail...