A family of Microsoft relational database management systems designed for ease of use.
How would I accomplish this in a thin client server based environment? By definition there is no local hard drive to store the front end.
We run with Citrix so this is how we do it.
- Backend resides on a File Server
- Frontend resides in a folder on the same file server.
- When someone clicks on the icon in Citrix to start the database, it
a. Runs a batch file which makes a copy of the frontend and places it in a temp folder on the particular Citrix Server.
b. If the folder doesn't exist the batch file creates it first.
c. The batch file also runs a registry file to register the location as a trusted location so the database will open with code enabled.
d. The batch file then opens the database file.
Here's the contents of one of our batch files and then below that a copy of the contents of the registry file (.reg) that runs:
BATCH FILE:
@echo Please wait while the version of the database you requested is updated.
@echo off
reg import e:\Access2007TrustedLocation.reg
MD E:\BKY_temp%username%
copy R:\FE\Current\Consolidated_Reports.mdb E:\BKY_temp%username% /y
Start /max "E:\Program Files\Microsoft Office\Office12\MSACCESS.EXE" "E:\BKY_temp%username%\Consolidated_Reports.mdb"
exit
REG FILE:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations\Location0]
"Path"="E:\bky_temp\"
"AllowSubfolders"=dword:00000001
"Description"=""
"Date"="9/25/2012 1:00 PM"