Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117

    .accdr won't open

    i've renamed a file from .accdb to .accdr but now it won't open. To be precise, access opens very breifly and closes again.



    What am I doing wrong, please?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904

  3. #3
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117
    Quote Originally Posted by JoeM View Post
    Thanks for that. I'm clear on the need to distribute as .accde but the thread doesn't explain why my .accdr opens and closes immediately.

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I am assuming that you already have the full Access or run-time Access installed on your computer.
    You may need to change your File Association settings so that Access is the default program to open accdr files.

  5. #5
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117
    i have access 2007 which is what i'm writingthe db in. clicking on the file does open access but it immediately closes so i would think the file association is correct.

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Try changing the file extension back to accdb. If that removes the symptom, your app is not suitable for Run Time and you need to adjust your app so it is suitable for Run Time.

  7. #7
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117
    it does work if i change it back. What might make it unsuitable for runtime? Its very simple - just has one table, form and report.

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    In order for an application to work and survive in Run Time it cannot rely/depend on any Design Time or Debug Time. Your app should launch a form for the user to interact with. All interactions should be supported by Macros and or VBA.

  9. #9
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117
    Quote Originally Posted by ItsMe View Post
    In order for an application to work and survive in Run Time it cannot rely/depend on any Design Time or Debug Time. Your app should launch a form for the user to interact with. All interactions should be supported by Macros and or VBA.
    Ah, now this sounds like the problem. I'm not sure if I'm launching a form. I went to access options/current database/display form and selected the name of my form. This form now opens when I open the db as an .accdb but not as an .accdr

  10. #10
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    You may have an AutoExec macro that is creating issues. One of the conditions for an accdr or an accde is that the file cannot execute Design Time commands. Did you create and save a Macro, naming it AutoExec?

    Similarly, your form could be trying to make a request that is only available during Design Time.

  11. #11
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117
    No, no macros at all. I've literally opened access, created a simple table, a form and a report and saved it.

  12. #12
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    If the file is not a trusted file it may prompt you to accept it. If you cancel, it will close. Aside from that, maybe you need to compile your VBA. It sounds like you do not have any code to compile though.

  13. #13
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117
    There's no prompting and there's no extra code, just the 3 aforementioned things.

  14. #14
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You may want to try uploading your database for analysis. If you do so, just be sure to remove any sensitive data first.

  15. #15
    merlin777 is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    117
    Database21.accdb

    no sensitive data. It's a very simple start so I could learn how to save and load etc.

Page 1 of 3 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. ApplyFilter in ACCDR
    By Cedarguy in forum Access
    Replies: 5
    Last Post: 05-11-2015, 05:49 AM
  2. .accdr file issue
    By EdCanada in forum Access
    Replies: 20
    Last Post: 04-04-2014, 12:10 AM
  3. Allow additions on .accdr
    By dougie in forum Forms
    Replies: 0
    Last Post: 02-20-2012, 05:17 AM
  4. Performance of ACCDB vs. ACCDR
    By ser01 in forum Access
    Replies: 2
    Last Post: 06-13-2011, 08:23 PM
  5. cannot change extension from accdb to accdr
    By everette in forum Access
    Replies: 4
    Last Post: 05-01-2011, 03:47 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