locking textboxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am attempting to lock several fields based on an OnClick event of a command
button. My code for each field I would like locked is: Me.[name of
textbox].locked=true. My problem is, when I click the button, I get the
following error message "object does not support this property or method". I
don't understand why this is happening.
 
This is usuall caused becauset he type of control you are trying to lock does
not have a locked property. Not all controls do.
 
Back
Top