Problem Converting .ACCDB to .ACCDE using Access 2016

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CD Tom
    Contributor
    • Feb 2009
    • 495

    Problem Converting .ACCDB to .ACCDE using Access 2016

    My program searches through all drives on the computer looking for the _be.accdb database, this allows the user to put the database on a network drive. The program when compiled was working fine, but the last time I compiled it and ran it using Access runtime it didn't find the database, however if I run the .accdb program it works fine. What could be the cause of it not finding the database when in a compiled mode.
    Any help would be appreciated.
    Last edited by NeoPa; Jul 1 '24, 05:37 PM. Reason: Clarifying title to make sense.
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32662

    #2
    Hi Tom.

    Can you confirm that all other details are exactly the same when you ran it both times. The likelihood of an ACCDE behaving differently from an ACCDB in the same circumstances is vanishingly small. Before we waste time looking for where a difference may be possible we need vigorous tests run that use all else exactly the same and only the two FE files being different as the ACCDB & ACCDE.

    Only if we need to take it further will we need to look at the actual code being run - which you've not included at all at this point anyway.

    Logical step by step though. Run the vigorous tests first then we'll take it from there.

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32662

      #3
      NB. Compiling is possible with VBA but it's quite different from converting an ACCDB to an ACCDE. I've adjusted the title to reflect this for you.

      Comment

      • CD Tom
        Contributor
        • Feb 2009
        • 495

        #4
        Thanks for the quick response, I'm almost positive that there was no changes to that section of the program. But just to be sure I'm going to compare the previous .accdb and see it there is any difference, I'll let you know if I find anything.

        Comment

        • NeoPa
          Recognized Expert Moderator MVP
          • Oct 2006
          • 32662

          #5
          Forget that Tom. Why not start with your ACCDB. Test it works. Create an ACCDE from it. Test the ACCDE works. Obviously make no changes to the environment in the mean time. Run the tests from the same place. Do all the usual things to ensure the only possible difference between the two tests is ACCDB & ACCDE files.

          Comment

          • CD Tom
            Contributor
            • Feb 2009
            • 495

            #6
            That's kind of what I did, Opened the .accdb that was working and just made the changes that I made to the one that wasn't working and created the .ACCDE and everything is back working again. Thanks for your help.

            Comment

            • NeoPa
              Recognized Expert Moderator MVP
              • Oct 2006
              • 32662

              #7
              No worries :-)

              Sometimes, just by following the basic steps fastidiously & precisely, we find that things work. This indicates something different that we didn't even notice was involved in the time when it didn't. Something subtle that doesn't even register when we did it / when it happened.

              Many good hours get spent chasing after such issues purely for the want of carefully checking & repeating our initial steps. Always a good first step ;-)

              Comment

              Working...