Results 1 to 5 of 5
  1. #1
    CostasD is offline Novice
    Windows 11 Office 365
    Join Date
    Dec 2022
    Posts
    3

    Question about running accdr/accdb files

    Hi,

    We have an Access application consisting of two files: an .accdr and an. accdb
    If I understand correctly the accdr file is the Interface to interact with the database found in the accdb file



    What is the correct way of running it in a multiuser environment? Can I place the two files on a network share and run the accdr from there? Or do I have to copy and run the accdr locally, and leave the accdb on the network share?

    Thank you

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    The .accdr should be on each users local machine and the .accdb on a shared network drive somewhere. If you were to put the .accdr on the network, then you run the risk of corruption as conflicts can occur with users doing different things at the same time - one of the reasons that other files such as excel and word cannot be shared - the first user opens it OK, all subsequent users open a copy. This does not happen with Access because the file is being updated constantly

  3. #3
    CostasD is offline Novice
    Windows 11 Office 365
    Join Date
    Dec 2022
    Posts
    3
    Ok! Any idea why the .accdr file is ~30MB? I mean it's only an interface to the database, is it supposed to be that large?

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    On a machine that has a full access version (rather than runtime) rename as .accdb. You should then be able to open in design view. There should be no local tables, only linked ones.

    Before taking any further action, make sure you take a copy of the file. It is extremely unlikely that anything will go wrong (it never has for me) but it is better to be safe than sorry.

    So now compact and repair (click on file). That should reduce the file size.

    Before compacting, and assuming you are using VBA you can also decompile/recompile which should remove any 'rubbish' remaining from developing the VBA - or do this after compacting the tables, then compact again.

    Here is a link as to how to decompile https://www.devhut.net/ms-access-decompile-a-database/

    once done, rename as .accdr.

    Note that the r means runtime, it is used by developers to test their app in a runtime environment. It is sometimes used as a very low level security measure to prevent users from messing with the front end - but as you can see, easy to overcome if you have a full version of access.

    It is usually better to distribute the front end (what you can the interface) as a .accde so users cannot mess with forms, reports and modules. These can still be renamed as .accdr. If what you have is actually a .accde then you won't be able to decompile/recompile

  5. #5
    Join Date
    Apr 2017
    Posts
    1,776
    When users are in same LAN as the resource with your accdb, you place the copy of accdr on every user's hard drive, or on shared network resource (like CJ_London adviced).

    When there is a need for users to work with app outside of your LAN, then you need a terminal server (with Access installed) in your LAN. Users have the copy of accdr in their TS profiles, or they have there shortcuts to accdr's on shared network resource. They log into your LAN remotely, log in into TS, and start accdr from there.

    To avoid possible confusion, when users use the same laptop to work in office, and to work remotely, it will be best such users work with this app from TS even when they are in office.

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

Similar Threads

  1. Can't install MS Access ACCDB and ACCDR
    By Misjel in forum Access
    Replies: 1
    Last Post: 02-10-2022, 05:40 AM
  2. Replies: 0
    Last Post: 02-06-2021, 05:25 PM
  3. Replies: 2
    Last Post: 10-14-2016, 12:27 PM
  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