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

Locking a Form Field on Exit

Status
Not open for further replies.

bwwood

Technical User
Oct 24, 2001
8
US
Hello,

I have an authorization form. I want to insert my signature into one of the fields. I think I have answered for myself that MS Access security is weak at best, and can not be set down to the field level (if this is not true, please advise).

Is there a way to set a procedure to occur "On Exit" or "After Update" that would lock the field?

your help is truly appreciated!
 
bwwood,

I'm no expert programmer, but I do know that you can use the following to 'lock' fields after updating a record. Simply insert into the 'after_update' event for the form.

Me.(yourfieldname).locked = true
or
Me.(yourfieldname).enabled = false

Hope this helps.

Regards,

Adrian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top