in message:
Comments below Ripper....
When is the best time to start security? Should I start the security before
I create the database or should I create the database and then apply
security? I am using Access 2000 and want user level security.
Interesting question and I'm sure you will get some varied opinions on
the subject. Either option probably has some pros and cons with it.
Typically I have set up the database just how I want and then apply
the security when I am all finished, but that is just me. One advantage
of applying security as you go along is that you can completely test
everything along the way. For example, if FormA should only be opened
by a user group B, then you can actually test this using your custom
workgroups while developing FormA. Could save some time perhaps.
The *best* advice I can give is to be *thinking* about security during
the entire process. While developing you can make things easier for
yourself by naming database objects that will help you remember who
can do what. For example, say you have a group called grpTeachers
and only that group can use a specific form. You could call it
frmgrpTEntryForm and maybe the query that feeds it is
qrygrpTEntryForm. When you start applying permissions you will easily
spot everything assigned to grpT and make the necessary permissions.
Just a thought.
Also, depending on the level of the user, I want to have a different start
form.
Teachers start with frmMain-Teacher
Office frmMain-Admin
CITS frmMain-CITS
Me - Database view
Registrar - frmMain-Reg
Sure, this is possible. You could easily create an AutoExec macro that
launches some module code. The module code would first check to see
what group the Current User belongs to (there is code in the FAQ for
this) and then load whatever form is necessary.
For some great User Level Security links, review the information I have
accumulated here:
http://www.ltcomputerdesigns.com/JCReferences.html#Security