Results 1 to 5 of 5
  1. #1
    saudkazia is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Oct 2015
    Location
    India
    Posts
    71

    Best practice for deploying Database

    Ok. Suppose I now have a database which is the final version. I have compiled it to an ACCDE and its to my requirement. Oh no. I just realized that something has changed that I need to edit this Database. I can't because it's compiled executable. Before I get into such a situation can someone explain what is the best method to ensure the following.



    Database deployed locked down with no changes to design and code as ACCDE
    Database front end and back end can be easily changed and redeployed from the master saved ACCDB

    I think splitting the database is the common practice but how can we do this ensuring the above

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    yes, splitting is the way.
    Every change to the FE, deploy to 'site' for users to download, then send email to get the new copy. (or just email the new copy)

  3. #3
    jan.simpson is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2015
    Location
    Brisbane Queensland Australia
    Posts
    5
    Saudkazia

    This is how I distribute databases to end-users...

    1. Split db into Front End (FE) and Backend and use 'linked' tables
    2. Save your FE .ACCDB as .ACCDE
    3. Copy your .ACCDE to .ACCDR (using Windows Explorer or CMD/PowerShell)

    The .ACCDR is a 'runtime' version of the .ACCDE and provides all the benefits of the /runtime switch
    One thing to watch out for is that you cannot open a .ACCDR from the ACCESS console, your users just double-click on it or create a shortcut for the desktop.

    When you need to improve or bug-fix, open your ACCDB and perform steps 2 and 3 again.

    If you don't want users to be able access the Backend (if it's an .ACCDB backend), create an AutoExec macro that will display a message "Not ALLOWED!" and Quit Access.

    If you have SQLServer or other ODBC connected backends, it's even easier

    I keep my FE code in a secure folder location, compile and create the .ACCDR for distribution.


    The .ACCDR is a RunTime version of the ACCDE which means that users cannot access any of the database development objects.
    The can use all objects, just not get to them in development mode.

    If you set your ACCDB/ACCDE options for "current database" to <Display Navigation Pane> to FALSE (No) (not ticked) and same for <Use Special Keys>, users cannot 'break in' or access any part of the development, plus you don't need to use a password to access the database. The "current dadtabase" settings 'stick' to the .ACCDE/.ACCDR

    Good luck!

  4. #4
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    actually before jumping thru too many hoops - - the appropriate deployment really depends on the user base; for trusted employees all on the same LAN - it can be quite simple; just link 1 front end, copy it, and put on each user's PC (this presumes uniform drive naming).... compile, runtime, etc may or may not be needed - its not that they are bad ideas but just may be unnecessary - again - depending on your user base...they are a little bit of more work to manage going forward.....

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Yeah, I don't think the answer to your question is any more complicated than keeping you master copy of the front end in a secure area where you manage development. When you create a new version, distribute a copy of your Master to the Users and destroy all previous versions.

    Also, there is not any need to change an accde to accdr. Just distribute the accde. When I am creating accde's and locking down an app, I use a special, separate, folder. When I start, this special folder is empty. Then, after the accde is created, I move it to the 'Distribution' folder.

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

Similar Threads

  1. Deploying asset database tips
    By tylerbns in forum Access
    Replies: 3
    Last Post: 05-12-2015, 11:24 AM
  2. Help with Deploying
    By rescobar in forum Access
    Replies: 1
    Last Post: 08-21-2013, 12:11 AM
  3. Deploying a database
    By leeli67 in forum Access
    Replies: 1
    Last Post: 03-07-2012, 04:36 PM
  4. Deploying Access db to different locations
    By lupis in forum Security
    Replies: 7
    Last Post: 06-01-2010, 05:00 AM
  5. Database Structure | Best Practice Question
    By davidson12 in forum Forms
    Replies: 0
    Last Post: 11-05-2009, 03:29 PM

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