Solved

Mystery Table

Posted on 2013-12-03
13
226 Views
Last Modified: 2013-12-09
Hello~
I have a macro that deletes everything in a database and imports it all from another one. Basically it is a test database that I refresh from the production database.

Since I have upgraded from 2003 to 2010 I have some mystery table that does not exist that the macro is trying to delete and recreate:

f_8D747EB0995F4AC8A581B559AAA87112_data

I'm extremely confused. Has anyone ever seen this or know what it is? It doesn't exist in the database anywhere so my macro on delete gets stuck on it and I have to drag past it and my macro on import I have to drag past it in the code.

Appreciate any thoughts.

Thanks!
Deanna
0
Comment
Question by:dminx13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
  • +2
13 Comments
 
LVL 61

Expert Comment

by:mbizup
ID: 39692982
Possibly something that was automatically created in the upgrade process.

Try, from the navigation pane ..

- Right-click the header bar on the navigation pane
- Click Navigation Options
- Check the boxes to show System Objects and Hidden Objects

... and check the contents of the table if it appears at that point.
0
 

Author Comment

by:dminx13
ID: 39693140
Nope. Isn't there :-( we have tons of hidden things so that was already checked.
0
 
LVL 32

Accepted Solution

by:
jadedata earned 500 total points
ID: 39693373
it shouldn't really matter if you have inventoried your objects to delete and reimport.

limit the deletions to your selections and don't let MSAccess make these decisions.

create a table of this inventory to work from or use naming conventions to constrain the tables you wish to act on .

MSAccess is still young and gets confused easily.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 61

Expert Comment

by:mbizup
ID: 39693388
Wow!  A blast from the past.  Nice to see you around these parts, jadedata!
0
 
LVL 31

Expert Comment

by:Helen Feddema
ID: 39693790
If Compact & Repair doesn't eliminate the mystery table, make a new database and import all legitimate objects from the problem database into it; that should leave the problem table behind.
0
 
LVL 75
ID: 39693976
"MSAccess is still young and gets confused easily."

?
0
 

Author Comment

by:dminx13
ID: 39694387
I'll give the making a new database and see if that works. The Compact & Repair did not.
0
 

Author Comment

by:dminx13
ID: 39696413
Tried the new database no go. Still said it existed. So then I dug further and it is referenceing the MsysObjects table to get things from. So why does the MSysObjects Table have this weird file? How do I get rid of it there? What is really odd is that it doesn't try to do everything in this table at all. So why pick this one up?
0
 

Assisted Solution

by:dminx13
dminx13 earned 0 total points
ID: 39696508
This is how I fixed it. I altered the code looking at the MSysTable to ignore the f_ table and it ran just fine now.

    sSQL = "SELECT MSysObjects.Name "
    sSQL = sSQL + "From MSysObjects "
    sSQL = sSQL + "WHERE (((MSysObjects.Name) Not Like ('MSYS*') And (MSysObjects.Name) "
    sSQL = sSQL + " Not Like ('f_*')) AND ((MSysObjects.Type)=1)); "
0
 

Author Closing Comment

by:dminx13
ID: 39705708
I ran with what Jade said about the separate table and found that I was already looking at one so I just needed to update the code to ignore the new weird table!
0
 
LVL 32

Expert Comment

by:jadedata
ID: 39706076
nice job on that ..

hey mbizup!  good to be back for a bit.

dminx13:  Access is a standalone operation,.. all objects in one container called an mdb or accdb..  as such, and in order to hide control objects from users (a long time microsoft tradition..) you will frequently find "weird" tables and things you didn't create in your mdbs.

If you use naming firm conventions on your objects, even those specific to the project and stick with that pattern as you build new projects you can navigate through your project and know at a glance what's yours and what is MSAccess junk objects  

Once it's a habit these utility chores of leger de main will be a cake walk
0
 

Author Comment

by:dminx13
ID: 39706172
Yes, we have standard nameing conventions so it was easy to identify the tables that come with access and that magically showed up! Even if your can't see it. Very odd. Not a hidden object. Access just thinks it exists!

Eventually we hope to convert to SQL. It would have been nice to do that now, but we were under tight time constraints to upgrade to Office 2010 so we just did this as an interim solution.
0
 
LVL 32

Expert Comment

by:jadedata
ID: 39706265
best of luck on the conversion

may all your projects be easy and your code be bug free!
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question