Disable all controls on a form.

  • Thread starter Thread starter Floyd Forbes
  • Start date Start date
Setting the form's AllowEdits property to No effectively disables all
controls.

If you want to loop through the controls and disable only the bound ones,
grab the code in this article:
Locking bound controls on a form and subforms
at:
http://allenbrowne.com/ser-56.html
The code calls itself recursively so that any level of subform is handled
also.
 
Do you get what you need if you set Allow Edits, Allow Addititions, and
Allow Deletions to No in the form's properties?
 

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

Similar Threads

Check boxes. 1
Controls 1
Access Form Refresh 1
Julian date 1
How to stop form from automatically scrolling 2
Subforms 3
Calculated Query! 2
How to keep users out when no current record? 1

Back
Top