Question : Specify a Menu Bar at Startup Based on User

Is there any way to specify different custom Menu Bars bars for different users when my Access app starts up?

I currently have a custom menu bar which I've specified in the Tools/Startup dialog, which is fine but I would like to have 2 different ones, one for Advanced users and one for Basic users.

For showing or hiding objects on forms for different users, I've been using environ("username") and bouncing that against a table with each user's username along with a "security clearnce level" field.  I've had good results with that and wonder if something similar could be used to specify the Menu Bar.

Answer : Specify a Menu Bar at Startup Based on User

Create a copy of your Access 2007 Database file. Open the new copy and go to TOOLS TAB, Select "MAKE ADE". Name the New file what ever you  like. Copy the new file to a shared location where your user(s) can reach it. They can use this format to reach your database without being able to change forms, reports or design any aspect of the database.

I'm warning you from experience here, "DO NOT LOOSE YOUR ORIGINAL MDB or ADP FILE." I contracted for a company that lost the original MDB file.  You can not go backwards from the ADE to MDB or ADP.

I usually use new copy  I created the ADE from as the latest Version backup and store it off site.

If your user is used to going to a company share to get to the MDB/ADP file you will want to move that file so it doesn't get changed without your permission.

Hope this helps.
Random Solutions  
 
programming4us programming4us