Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > General

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-17-2006, 12:55 AM
L'apprentis's Avatar
L'apprentis L'apprentis is offline
Redcifer
 
Join Date: Jun 2005
Location: Scotland Aberdeen
Posts: 177
L'apprentis is on a distinguished road
Strange nessage on closing database???

Hi,
I have been doing some minor change in design view in my database but now each time I am closing the database. I am getting the following message:
"Table 'Temp'MSysAccess objects' Already exists", Is anybody knows why?
Reply With Quote
Sponsored Links
  #2  
Old 05-17-2006, 01:45 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now
AWF VIP
 
Join Date: Jul 2005
Location: @ 8300' in the Colorado Rockies
Posts: 11,695
RuralGuy is a jewel in the roughRuralGuy is a jewel in the roughRuralGuy is a jewel in the roughRuralGuy is a jewel in the rough
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
I had the same problem and went to Tools>Options>View and turned on [Hidden Objects] and [System Objects] and then deleted the Temp'MSysAccess objects table referred to in the error message. It seemed to clear up the problem with no ill effects. I have Compact on Close turned on and I suspect that has something to do with it.
__________________
(RG for short) aka Allan Bunch MS Access MVP acXP, ac07 - WinXP Pro, Win7
Please post back to this Forum so all may benefit.
Teaching is not filling a bucket but lighting a fire.
Reply With Quote
  #3  
Old 05-17-2006, 02:13 AM
L'apprentis's Avatar
L'apprentis L'apprentis is offline
Redcifer
 
Join Date: Jun 2005
Location: Scotland Aberdeen
Posts: 177
L'apprentis is on a distinguished road
Hey rural guy,
Yeah what you're saying is working, thanks,
Well, I also have "Compact on CLose" turned on so it might have something to do with it. It would be interesting to know how and why this is happening to see if there is any way to prevent it or see how often this is likely to happen.
Reply With Quote
  #4  
Old 05-17-2006, 05:43 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now
AWF VIP
 
Join Date: Jul 2005
Location: @ 8300' in the Colorado Rockies
Posts: 11,695
RuralGuy is a jewel in the roughRuralGuy is a jewel in the roughRuralGuy is a jewel in the roughRuralGuy is a jewel in the rough
Send a message via MSN to RuralGuy Send a message via Yahoo to RuralGuy
There are some that only compact when the db reaches a certain size. I think it happens when the system HickUps when it is compacting. I still have mine turned on and it only happened one time in two years.
__________________
(RG for short) aka Allan Bunch MS Access MVP acXP, ac07 - WinXP Pro, Win7
Please post back to this Forum so all may benefit.
Teaching is not filling a bucket but lighting a fire.
Reply With Quote
  #5  
Old 05-17-2006, 07:26 AM
ghudson's Avatar
ghudson ghudson is offline
Dazed & Confused
 
Join Date: Jun 2002
Location: USA
Posts: 6,044
ghudson has a spectacular aura aboutghudson has a spectacular aura about
I would import all of my db objects into a new db if received an error about a system table. But that is just my paranoia.

Check this out to see the code I use to turn on the Compact On Close function if the db exceeds a specific size...

auto-compact bypassed by docmd.quit

__________________
.................................................. ......
Searching this forum or Microsoft.com or MSDN.com or Google is a great way to discover and learn the answers to your Access programming questions.

Well if it seems to be real, it's illusion...

I am using Access 2007 with Windows XP

The Advanced Search function on this forum really does work.
.................................................. ......
Reply With Quote
  #6  
Old 05-18-2006, 11:14 AM
DataMiner DataMiner is offline
Registered User
 
Join Date: Jul 2001
Location: Everett,WA
Posts: 336
DataMiner is an unknown quantity at this point
I would love to run the compact on close only when the db exceeds a certain size. But, I've tried this before and in order to make this code work, I'd need to give my users all admin permission to the db. That is, I don't think you can change the compact on close setting without having admin permission. Not really willing to do that!

At any rate, I guess I will just do a rebuild on the db (import everything into a new db) and see if this makes the problem go away. I would like to avoid this because then I have to re-set all my user-level-security stuff.
__________________
She Through Whom All Data Flows
Reply With Quote
  #7  
Old 05-18-2006, 11:55 AM
ghudson's Avatar
ghudson ghudson is offline
Dazed & Confused
 
Join Date: Jun 2002
Location: USA
Posts: 6,044
ghudson has a spectacular aura aboutghudson has a spectacular aura about
My dbs are all secured with a custom workgroup and user permissions and my users have no problem running by compact on close code. Plus my users always have to open the db with the /runtime command and it all works just fine.
__________________
.................................................. ......
Searching this forum or Microsoft.com or MSDN.com or Google is a great way to discover and learn the answers to your Access programming questions.

Well if it seems to be real, it's illusion...

I am using Access 2007 with Windows XP

The Advanced Search function on this forum really does work.
.................................................. ......
Reply With Quote
  #8  
Old 05-18-2006, 01:52 PM
DataMiner DataMiner is offline
Registered User
 
Join Date: Jul 2001
Location: Everett,WA
Posts: 336
DataMiner is an unknown quantity at this point
Hmmmm..... well, I had a very similar function which I wrote several years ago, but could never get it to work without giving the users admin permission. But maybe it was before I converted to Access 2002? At any rate, I'll give it a try again. Would sure be nice to not have to wait for the db to compact every time I close it.

The one thing I did differently was run my function as part of the autoexec at start up.
__________________
She Through Whom All Data Flows
Reply With Quote
  #9  
Old 05-19-2006, 04:38 AM
L'apprentis's Avatar
L'apprentis L'apprentis is offline
Redcifer
 
Join Date: Jun 2005
Location: Scotland Aberdeen
Posts: 177
L'apprentis is on a distinguished road
Encore une fois, merci a toi Ghudson,
__________________
Using Access 2003
Reply With Quote
  #10  
Old 05-19-2006, 05:19 AM
ghudson's Avatar
ghudson ghudson is offline
Dazed & Confused
 
Join Date: Jun 2002
Location: USA
Posts: 6,044
ghudson has a spectacular aura aboutghudson has a spectacular aura about
Quote:
Originally Posted by DataMiner
Hmmmm..... well, I had a very similar function which I wrote several years ago, but could never get it to work without giving the users admin permission. But maybe it was before I converted to Access 2002? At any rate, I'll give it a try again. Would sure be nice to not have to wait for the db to compact every time I close it.

The one thing I did differently was run my function as part of the autoexec at start up.
I advise that you not run it until the user is ready to close the db. What if the db is under the file size limit you set when they opened the db but their use of the db since it was first opened caused it to bloat beyond your file size limit? That is why you should run the code when the user is closing your db to check if it needs to be compacted when they close the db.
__________________
.................................................. ......
Searching this forum or Microsoft.com or MSDN.com or Google is a great way to discover and learn the answers to your Access programming questions.

Well if it seems to be real, it's illusion...

I am using Access 2007 with Windows XP

The Advanced Search function on this forum really does work.
.................................................. ......
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting images in database to later view in report Xcite Reports 2 12-02-2005 06:58 PM
Backup Database OLE or DDE Error Curious Modules & VBA 0 10-12-2005 07:46 AM
Help Creating and designing an ACCESS database!!! manster21 General 5 09-02-2005 01:13 AM
Error when closing database yhgtbfk General 1 07-24-2005 03:17 PM
Importing database table question. oihjk General 2 02-14-2003 06:25 AM


All times are GMT -8. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World