PC Review


Reply
 
 
=?Utf-8?B?TXVycA==?=
Guest
Posts: n/a
 
      11th Mar 2005
I am using Access 2002. I have noticed in my list of class modules that there
are a number of files names like Report_######~tmpclp. I am unable to delete
these files the usual way, and when I view their objects, they are old
versions of reports. Does anyone know why these files are appearing and how I
can get rid of them?

Cheers,
Murp

--
Yo Yo Ma.
 
Reply With Quote
 
 
 
 
Jeff Conrad
Guest
Posts: n/a
 
      11th Mar 2005
"Murp" <(E-Mail Removed)> wrote in message
news:E0BEB657-8AB0-45E7-8EA9-(E-Mail Removed)...

> I am using Access 2002. I have noticed in my list of class modules that there
> are a number of files names like Report_######~tmpclp. I am unable to delete
> these files the usual way, and when I view their objects, they are old
> versions of reports. Does anyone know why these files are appearing and how I
> can get rid of them?


Compacting the database will *sometimes* get rid of them,
but not always.

Usually when this occurs, the only way to get rid of them is
to create a new blank database and import all the database
objects except those phantom temp objects into the new
container. Make sure you immediately compile the database
after importing the objects. Then compact.

--
Jeff Conrad
Access Junkie
Bend, Oregon


 
Reply With Quote
 
=?Utf-8?B?SmFSYQ==?=
Guest
Posts: n/a
 
      11th Mar 2005
You can also delete them with and Docmd.DeleteObject
this will delete temptables en debug.print other types so if you want you
can include them also for deletion.

- Raoul

Public Sub DeleteTempObjects()
Dim rs As DAO.Recordset
dim strSQL as string

strSQL="SELECT MSysObjects.Name, MSysObjects.Type "
strSQL=strSQL &"FROM MSysObjects "
strSQL=strSQL &"WHERE MSysObjects.Name Like '~sq_*' "
strSQL=strSQL &"ORDER BY MSysObjects.Name"
strSQL=Replace(strSQL,"'",chr(34))

Set rs = CurrentDb.OpenRecordset(strSQL)
While Not rs.EOF
Select Case rs("Type")
Case 5
DoCmd.DeleteObject acQuery, rs("Name")
Case Else
Debug.Print rs("Type"), rs("Name")
End Select
rs.MoveNext
Wend
rs.Close
Set rs = Nothing
End Sub


"Jeff Conrad" wrote:

> "Murp" <(E-Mail Removed)> wrote in message
> news:E0BEB657-8AB0-45E7-8EA9-(E-Mail Removed)...
>
> > I am using Access 2002. I have noticed in my list of class modules that there
> > are a number of files names like Report_######~tmpclp. I am unable to delete
> > these files the usual way, and when I view their objects, they are old
> > versions of reports. Does anyone know why these files are appearing and how I
> > can get rid of them?

>
> Compacting the database will *sometimes* get rid of them,
> but not always.
>
> Usually when this occurs, the only way to get rid of them is
> to create a new blank database and import all the database
> objects except those phantom temp objects into the new
> container. Make sure you immediately compile the database
> after importing the objects. Then compact.
>
> --
> Jeff Conrad
> Access Junkie
> Bend, Oregon
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPCLP Tables Yecenia Microsoft Access Database Table Design 2 14th Aug 2009 06:50 PM
Form _~tmpCLP... Michael Cochran Microsoft Access Form Coding 4 1st Apr 2009 04:05 AM
TMPCLP file??? =?Utf-8?B?eWxhbmQx?= Microsoft Excel Crashes 1 19th Oct 2007 10:53 PM
Form_~TMPCLP... =?Utf-8?B?TGluYSBNYW5qYXJyZXM=?= Microsoft Access Forms 8 20th Sep 2006 07:22 PM
How to get rid of Form_~TMPCLP... Bill Mitchell Microsoft Access Forms 1 24th Sep 2003 08:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 AM.