Results 1 to 8 of 8
  1. #1
    IAmNela is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    4

    Question Access 2007 will not open database

    I am at my wits end. My databases will not open on my laptop (Windows 7 64-bit) and Access 2010 32-bit.
    I created these databases - one in 2003 and converted to 2007 without any problems (attached) and one in 2007 and I cannot open it anymore (with or without the shift key down).
    They worked for 2 years until they need further development when I discovered this problem. I don't think they are corrupted as they could be open on one computer but not on mine. I think it may be a software problem as the server where they "lived" had to be replaced and since then I cannot open the files - accdb and accde.
    I am attaching the files as they may explain everything. Timesheet_FE 2007 created in 2007 cannot be open; the file that I can open is too big and I am not being allowed to attach.
    Please help .
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Only one file in the zip.

    Wouldn't open for me either. But everything shows up in the Import wizard. So I imported to a new db. The tables are links so of course tables did not import. Everything else except a couple of images imported. I can open objects in design view.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    IAmNela is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    4

    Thank you it worked in part

    Quote Originally Posted by June7 View Post
    Only one file in the zip.

    Wouldn't open for me either. But everything shows up in the Import wizard. So I imported to a new db. The tables are links so of course tables did not import. Everything else except a couple of images imported. I can open objects in design view.
    Thank you, your suggestion worked in so far as I have created a new Db and imported all the forms, queries, etc (it never occurred to me to do this). However, it does not let me save a ACCDE. The message suggested that I have too many references to table ID??!! I did not understand what it meant.
    Can you do your magic again, please? and tell me what happened that I am now unable to save as accde?
    In the meantime I am checking code and compiling it and generally making sure that all is well.
    Again, thank you so much.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    I don't understand the error message either. I have never used ACCDE.

    Bing: Access ACCDE too many references

    Maybe this will help http://stackoverflow.com/questions/1...cdb-into-accde
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Sounds like your code is not compiling. Have you done a Debug>Compile Database?

  6. #6
    IAmNela is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    4

    thank you, the code needed compiling

    Quote Originally Posted by ItsMe View Post
    Sounds like your code is not compiling. Have you done a Debug>Compile Database?
    Thanks for this. Yes, you were correct, it was the code that did not compile. I have now managed to save as an ACCDE file. It is almost ready to release.
    Thanks again for your help getting this problem fixed. I still have problems with ribbons and shortcut menus that did not import, but I'll create a new thread.
    Thanks.

  7. #7
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    Your code has several compilation errors. One thing to remember is that while Access 2003 is tolerant and lets you use me.controlname to reference a form control, Access 2007 isn't; you have to use me!controlname, and your code has several errors like that.

    I just fixed the errors so that it would compile, and then the creation of an ACCDE worked fine, no errors. It sounds like a compilation issue is your problem.

    John




  8. #8
    IAmNela is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    4

    I have fixed those error

    Quote Originally Posted by John_G View Post
    Hi -

    Your code has several compilation errors. One thing to remember is that while Access 2003 is tolerant and lets you use me.controlname to reference a form control, Access 2007 isn't; you have to use me!controlname, and your code has several errors like that.

    I just fixed the errors so that it would compile, and then the creation of an ACCDE worked fine, no errors. It sounds like a compilation issue is your problem.

    John
    Hi John
    You are right. I located those errors when I compiled the Db and fixed them and then created an ACCDE successfully. When I created the databases 3 years ago in 2007 it allowed me to use me.controlname. Anyway, I am grateful for your help in solving this nightmare.
    Nela

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

Similar Threads

  1. Replies: 1
    Last Post: 02-05-2013, 12:11 PM
  2. Unable to open the database in Acess 2007
    By Bhat59 in forum Access
    Replies: 1
    Last Post: 08-09-2012, 07:38 PM
  3. MS 2007 files won't open from VBA in Access 2007
    By gopherking in forum Programming
    Replies: 1
    Last Post: 02-24-2012, 02:44 PM
  4. Replies: 1
    Last Post: 11-15-2010, 06:15 AM
  5. What Database is Open? (Access 2007)
    By jhrBanker in forum Access
    Replies: 3
    Last Post: 06-06-2009, 09:00 AM

Tags for this Thread

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