Forum Discussion

MarcoM70's avatar
MarcoM70
Copper Contributor
Jun 15, 2022
Solved

Ways to minimize risk of corruption of an accdb (back end, only tables)

Hi. Several weeks ago, after compacting (via VBA code) an accdb (back end on a server), I couldn't find anymore some indexes in a (important...) table. In the compacted accdb, I found the MSysCompa...
  • George_Hepworth's avatar
    George_Hepworth
    Jun 17, 2022

    MarcoM70 

    Some people do report that they've not had problems doing a C&R on an mdb/accdb on a network share. If you want to continue that practice, it's up to you. 

     

    "... at home where I have Access 2016 64 bit. At the office, where I have access 2016 32 bit, it didn't work. "

     

    And that's probably the missing detail we needed. Does the accdb compile in both environments?  

     

    To be sure you've recovered it fully, what I would do is create a new, empty accdb in whichever version you intend to use when actually working with this accdb, presumably in the Office, where you have the 32 bit version. Then import the existing tables from this borked accdb into it and make sure the relationships, indexes, etc. are all restored properly.

     

    Then I would NOT mess with it again on the 64 bit Access computer. No guarantees one way or the other that that is the source of the problem, but, while you can run the accdb under either version--assuming the code has been properly converted to run in both environments and there are no incompatible 32bit ActiveX controls in the accdb--I would be very reluctant to introduce changes by altering it in the 64 bit version, including a C&R.

     

     

     

     

     

     

Resources