Khurramshaikh47
Member
- Local time
- Today, 17:20
- Joined
- Aug 19, 2021
- Messages
- 212
Hi, PatNo, the database is distributed in house and the users know better than to mess with it. The .accde does nothing to protect the database. it doesn't stop the users from opening the tables and updating the data directly. It doesn't stop them from creating their own macros or queriees, It only removes the source code. If you need to lock the database, you need to go far beyond just creating an .accde.
Really? You're not even going to take a shot at it?
Code:md c:\SomeLocalDirectoryName del c:\SomeLocalDirectoryName\BTI_Employee_Database_Testing.accde copy "\\Book-dc\hr\BTI Employee Database\BTI_Employee_Database_Testing.accde" c:\SomeLocalDirectoryName c:\SomeLocalDirectoryName\BTI_Employee_Database_Testing.accde
As I mentioned, the database needs to be downloaded to the user's local drive. Do NOT use a server location.
Also, keep in mind that if you use embedded spaces or special characters in path or file names, you MUST enclose the string in double quotes to isolate the offending characters.
I have created FE (ACCDE) file on my Local Disk (D
and then created a batch file with .bat extension please check the screenshot below:
Then I created its shortcut on the server location where my backend file and a copy of front-end file is already exist (I also created shortcuts to the front-end users locations):
Then I Run the shortcut:
Now I have changed the color of a button of my database form (.accdb file) on my Local Disk (D
Now I save as and replace my ACCDE file in my Local Disk (D
But No changes are updated on a single distributed FE files, I've checked the file on the users computers and server as well:
Screenshot of FE file from users desktop:
I've tried to open the updater again and again. But nothing is updating on users' front-end files. Until I copy the updated ACCDE file from my Local Disk to the server and users' desktops manually.