Using MS Access/Password protect a form

Advertisement


Question
I want to password protect my form that allows edits and deletions.  Having a problem finding the best way to accomplish this............

Answer
the way I generally do things is to use function found here:

http://www.mvps.org/access/api/api0008.htm

to capture the user's Network login. I then use code in ther ON Open event of the form, to turn AllowEdits and AllowDeletes on depending on the login ID. I use a Users table to determine access levels.

HTH
Scott<>

Using MS Access

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scottgem

Expertise

I can answer almost all types of questions relating to Microsoft Access usage and application design. My strengths are database and interface design.

Experience

I've been designing databases for over 15 years working with dBase, FoxPro, Approach and Access.

Organizations
Author of Microsoft Office Access 2007 VBA
Techncial Editor for Special Edition Using Microsoft Access 2007 and Access 2007 Forms, Reports & Queries From Que Publishing

©2012 About.com, a part of The New York Times Company. All rights reserved.