The only way to make an emailed Access db file read only is to use Access
user level security. The security faq is 242KB, Access doesn't have user
level security items on the ribbons in Access 2007 so you have to use vba
code to do everything manually, but you want a brief, step by step guide
instead? There's no extra weight in that document, no extra fluff, no icing
on the cake. Every sentence in that document is required knowledge for
someone learning how to secure an Access db.
But if you really can't accept that, here's the idiot's guide you requested:
1 - convert the mdb file to an mde, Database Tools > Make MDE and follow the
prompts for the path and file name of the new mde.
2 - send the mde file to someone who knows how to secure an Access db and
tell him/her you need them to secure it. You also need the db owner's user
name and password and a read only user's user name and password. He/she will
send you back the secured mde file and the mdw file, which is the workgroup
file used to secure the db, the user names and the passwords for both users.
3 - rename the mde file as olliedb.mde and rename the workgroup file as
secure.mdw.
4 - send the mde and mdw file to the customer with a Windows shortcut with
this path (target is all one line):
"c:\Program Files\Microsoft Office\Office12\msaccess.exe" "c:\ollie\olliedb.
mde" /wrkgrp "c:\ollie\secure.mdw"
5 - tell the customer to place the mde and mdw files in the c:\ollie folder
(they have to create it).
6 - tell the customer to place the shortcut on the desktop.
7 - in a separate email tell the customer the user name and password and to
double click on the shortcut you sent previously.
8 - when the customer double clicks on the shortcut, he/she types the user
name in the top box that asks for name, and types the password in the
password box.
9 - when the customer opens the mde file, he/she can open tables, queries,
forms, reports and macros. He/she can read the data in the tables and
queries, data on the forms, but won't be able to make any changes. He/she
won't be able to see any of the code because it's an mde file.
Chris
Microsoft MVP