Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login Form in MS Access 2007

Status
Not open for further replies.

iuianj07

Programmer
Sep 25, 2009
293
US
Hello guys,

I would like to seek help and advice on my current database:

I created a database with a Login Form as the startup form. when a user enter their username and password, then the main form will appear. That part looks ok.

My real question though would be, since we wanted to implement a login form to have access to the database is for security purposes. Is there a way that when we open the database, the only form that a user can access is that login form? Meaning that All Access Objects on the left side of MS Access are hidden/disabled until someone logged in? Because it wouldn't look right if there is a login form but someone can bypass that and open tables/queries/other forms on the left side?

Any help is greatly appreciated.

Thank you,
Iuigene
 
Click the windows icon, and go to Access Options. Once there, select "Current Database" in the left pane.

Select your "login" form as the "Display Form:"

Uncheck the following:
-Display Navigation Pane
-Display Document Tabs
-Display Status Bar
-Allow Full Menu
-Allow Default Menu Shortcuts

Bypass these options by holding down "SHIFT" while opening a database. You can also remove the ribbon with VBA.

 
Hey,

I have the login as my display form, my question though is, after I do login from the form, is there a way that it would now automatically show the navigation pane? Instead of pressing the F11 key?

Thanks
 
Hey dhookom,

Yes that is true, but of course there are some users nosy enough to try and explore, open queries, forms, reports that they shouldn't do. And we have told them that several times but of course some still does it, and it is hard to track down who does. That is why I am trying to figure out if there is a way to hide them until they logon to the form..

Thanks,
 
Yes.. because the Project Leader would need to have access to the tables and queries whenever she needs to add/delete something to the table and run queries to see the status of the project.

No.. for the users that are only using the database for data entry etc...

So is there a way to satisfy both conditions?

Thanks
 
As a temporary measure, use VBA to disable the shift key. Set up a password prompt to re-enable it and share that password with the Project Leader, until you're done building their interface.

Disabling the shift key would be a good extra measure of security
 
Thanks BDCarillo,

I might be go with disabling the shift key, but would you be able to help me write the VBA to disable it?

Thank you and I appreciate the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top