Results 1 to 10 of 10
  1. #1
    naz123 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2017
    Posts
    5

    Missing Database Objects - Access 2010 Forms, Queries, Tables, Reports


    Click image for larger version. 

Name:	db screenshot.jpg 
Views:	27 
Size:	81.6 KB 
ID:	29405

    Hi all, so im trying to make some changes to one of my databases but i cant see any of the objects, i.e. the Tables, Queries, Forms, Reports etc...

    They just dont show up in the Navigation Pane, i haven't changed any settings to hide them.

    Can anyone help on how i can retrieve these?

    The database still works fine so everything is there just cant see it.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    The database may be hidden.
    there's a setting you can run.....
    like...database.hide= false.
    i use it in a macro. (I can't access my PC from here)

    also try right click on the db, see if its there.

  3. #3
    naz123 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2017
    Posts
    5
    Hi, thanks for replying.. i'm sorry i'm not sure what you mean..

    how can i run that setting?
    &
    where do i click?

  4. #4
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Since the database still runs fine, that suggests to me that the startup form or macro is doing something to make the objects invisible. If you have a startup form selected, change the setting to no form, close and reopen the database. (holding down the shift key while opening the database should do the same thing.)

  5. #5
    naz123 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2017
    Posts
    5
    Tried changing to No Form, and opening the database by holding down shift key.. .the objects are still hidden :|

  6. #6
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Try creating a new, blank database, and then import all the objects from the old database into it. See if it works before making any other changes.

  7. #7
    naz123 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2017
    Posts
    5
    Hi John_G thanks for that i am now able to view my missing database objects..

    Whilst testing it all does not seem to work, it crashes out on this piece of code.. any idea to why this may not work?

    Dim Db As Database, rs As Recordset, chek As String

  8. #8
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    I don't see anything wrong in that line - what is the error message? My guess would be that there are some missing references. I should have mentioned that - when you import all the objects into a new database, the references are not copied with them.

    To see the list of references, open any code module, then from the menu select Tools - References.

    Not sure if this will work, but you might be able to see the references in the old database by opening the immediate pane (Ctrl-G), and doing Tools - References from there.

  9. #9
    naz123 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2017
    Posts
    5
    Click image for larger version. 

Name:	db code.jpg 
Views:	10 
Size:	126.9 KB 
ID:	29520

    this is where it seems to be crashing out, with the following error message..

    i have checked the references the same are ticked on the old version as they are on this new one.

  10. #10
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    OK. What you can now try is to move the reference to Microsoft DAO.. reference up in the list as far as it will go. Select it, then use the priority up-arrow. Then re-compile. This has worked for me many times when I get strange errors like that.

    If that one doesn't work, try the Microsoft Office xx Onject Library

    I have just noticed something - is your database file named database.mdb (or accdb)? If so, try renaming it. "Database" is a microsoft reserved word, and I think that is confusing Access. Notice that the error message show that Access thinks you have reference the project called "Database".
    Last edited by John_G; 07-19-2017 at 11:07 AM. Reason: Add additional information

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 10-16-2014, 12:55 PM
  2. Replies: 1
    Last Post: 03-08-2012, 08:34 AM
  3. Replies: 7
    Last Post: 02-16-2012, 11:00 AM
  4. Replies: 0
    Last Post: 02-07-2012, 04:38 AM
  5. 2010 and 2007 Access Queries, Forms & Reports
    By rpaldridge in forum Import/Export Data
    Replies: 3
    Last Post: 02-11-2011, 07:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums