locking all controls on a form?

  • Thread starter Thread starter Jerome
  • Start date Start date
J

Jerome

Hi, I want to add a button to my form which would allow me to enable or
disable all the text controls, dropdown lists, etc on my form.

What is the best way to do that?

Thanks.
 
Jerome said:
Hi, I want to add a button to my form which would allow me to enable or
disable all the text controls, dropdown lists, etc on my form.

What is the best way to do that?

Thanks.

Me.AllowAdditions = Not Me.AllowAdditions
Me.AllowEdits = Not Me.AllowEdits
Me.AllowDeletions = Not Me.AllowDeletions
 

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