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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

password protect a form

Status
Not open for further replies.

pdtit

Technical User
Nov 4, 2001
206
BE
Hello,

I was wondering how to "password protect" a form in my application, based on a table "users" which contain username and password.

At first, opening the form as read-only is fine; however, is it possible in this scenario to "block" certain fields from editing based on which user logs in ?

Regards,

Peter
 
Hi
As in:
If Forms!HiddenUserForm!AllowedThisField = False
Me!ThisField.Enabled = False
End If
 
I'd suggest to use userlevel security to protect the DB.
TOOLS > SECURITY >......
You can find a some information about Access Security Overview & with Microsoft

________________________________________
Zameer Abdulla
Visit Me
Hold your child's hand every chance you get.
A time will come when he or she won't let you.
 
This thread thread181-1026600 also explains how to setup security step-by-step.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top