Ensure users have the latest version of your MS Access Database

I don't like out of date versions.
Written by Jacob, November 2025
Jacob Brown
I really do hate out of date versions.

It doesn't sound that hard, but giving everyone the latest version of your database every time is not as straight-forward as I originally expected.

The method described here is pretty simple and easy to set up, though. It used a basic batch file (~4 lines) and a shortcut (.lnk).

Why does this matter?

Sooo many reasons exist to make you want everyone to have the latest version of your accdb. First is the simple bug fix or feature update. Or, maybe, you increased the security or permissions levels of some features. Maybe you even made some backend changes to your tables and a frontend change is required to make it work. All of these and more are important reasons you should consider implementing a method to push the latest updates to your users.

Pre-requisites

A few things you must have set up first in order for this to work...

  • - Must be using split database structure

    Front end must be separate from back end. This method only distributes the front end file.

  • - Must have production Front End file in an accessible location for users

    Users must have permission to copy from this location

The Setup

Here's how I do it. Very simple. Details on these steps will be after this list.

  • 1. Create a standard batch file

    Using code below edited to your needs/file locations

  • 2. Create a shortcut to that batch file

  • 3. Distribute copies of the shortcut file as method of opening

    THIS is the file you share

1. Create a Batch File

This is very easy. Don't be overwhelmed by batch. It's basically using cmd prompt. Very simple stuff here.

Simply open a text editor (notepad is perfect) and copy the code / paste it in the text editor. Then, save the file and change the extension of the file to either .bat or .cmd

Copy to Clipboard
@echo off
IF exist myDirName ( echo "C:\databaseName\" exists ) ELSE ( mkdir "C:\databaseName\" )
copy \\standardCopyLocationdatabaseName.accdb "C:\databaseName\databaseName.accdb"
start "msaccess.exe" "C:\databaseName\databaseName.accdb"

This batch file should be stored near your production front end. It does NOT need to be editable by your users. They simply need read-only access.

2. Create a shortcut to that batch file

Just simply right-click the batch file and create a shortcut to it.

You don't have to, but I typically choose to edit a few settings inside the shortcut file. Simply Right-Click and go to "Properties" to access this menu. First, I change it to open "Minimized" (this will make the batch file harder to see for the user). Then, I set up a custom icon. I also change the target slightly.

How do I tell users I have a newer version available?

I have a VBA function on the frontend that runs whenever the user is active that checks to make sure the active database is up to date (checks a local version number against the latest version number on a backend table). If is it out of date, there is a form message box that displays "Newer version available"

Does is always work?

Not always. The biggest issue with this is the "Recent Files" menu in MS Access. I don't currently know how to disable this menu. I have some users that really enjoy this menu, though. What I've found is just some consistent training / education to the users has been the most helpful action.

Have a question? See an error?

Contact

Check out our YouTube channel for video tutorials!

VBA Decoded Logo
VBA Decoded

©All Rights Reserved.