| Chat with a LIVE Microsoft
Access Expert! |
||||
|
||||
|
#1
|
||||
|
||||
|
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? |
| Sponsored Links |
|
#2
|
||||
|
||||
|
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, Win7Please post back to this Forum so all may benefit. Teaching is not filling a bucket but lighting a fire. |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
||||
|
||||
|
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, Win7Please post back to this Forum so all may benefit. Teaching is not filling a bucket but lighting a fire. |
|
#5
|
||||
|
||||
|
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. ![]() .................................................. ......
|
|
#6
|
|||
|
|||
|
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 |
|
#7
|
||||
|
||||
|
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. ![]() .................................................. ......
|
|
#8
|
|||
|
|||
|
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 |
|
#9
|
||||
|
||||
|
Encore une fois, merci a toi Ghudson,
__________________
Using Access 2003 |
|
#10
|
||||
|
||||
|
Quote:
__________________
.................................................. ...... 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. ![]() .................................................. ......
|
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |