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!

User Change Own Password

Status
Not open for further replies.

spaceherpe61

Technical User
Feb 1, 2005
8
US
I have user security on an Access DB that I created. I also diabled all menus and shortcuts, because I don't want the users getting in and changing what they are not allowed to change. My question is there a way code a Change password function on a form, or allow that menu to show up without giving them access to everything else.
 
If you add the "User and Group Accounts" menu option to a custom menu of your own, provided you have got appropriate user-level security set up (i.e. the users don't have the privileges to administer accounts) then the only options that wil be enabled to the user will the those for changing their own password - the others will be greyed out.

Alternatively, you can code a bespoke solution using the NewPassword method - if you search Access' VB help for NewPassword you'll find a crude example that you can adapt for your own purposes, perhaps by building it into a form with a couple of text boxes formatted as Password (so they display asterisks when typed in) and so on.

Hope this helps.

[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top