AllowEdits

K

kenrav

Is there a way to allow users the ability to make edits on one control on a
form, but not the rest?
 
J

Jeanette Cunningham

You can lock the controls which are not to be edited.
To lock a control, on its property dialog, on the data tab, set locked to
Yes.

You can also lock a control with code:

Me.[ControlName].Locked = True

Note the square brackets are required if the control name has spaces or
special characters.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top