Locked and disabled but still editable

R

reidarT

I have a field with and Iif controlsource. The field is locked and not
active, but still I can click on the field.
How do I lock the file?
reidarT
 
A

Al Camp

Reidar,
What do you mean by "not active?"
If...
YourField.Enabled = No
YourField.Locked = Yes
then it will not allow the Click event to fire, or the cursor to be inserted into the
field.
 
Top