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.
 

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

Back
Top