Block all controls of a FORM and a SUBFORM through a command button

  • Thread starter Thread starter UTOPIAN
  • Start date Start date
U

UTOPIAN

Hello to all!

How can I block all controls of a FORM and a SUBFORM through a command
button?

Thanks!

Utopian.-
 
The basic concept is that you would use a procedure that cycled through all the controls on a form, checking to see if each was a textbox or combobox or listbox, then changing the .Locked property appropriately.

There are procedures available (?mvps.org/access) that do this ... ?EnableControls()?

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP

Sorry, I meant Lock no Block....
 

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