locking the controls on a subform

odrap

Registered User.
Local time
Today, 06:18
Joined
Dec 16, 2008
Messages
156
In a form with subform i have
Me.allowEdits = False
Me.AllowAdditions = true
in the load event .
This way when the form opens, all controls on the form are locked. By hitting the button CmdNew Or CmdEdit i can manage the data on the form. But the settings mentioned hereabove, don't lock the controls on the subform. How does this comes. I believed that because the subform is a control of the parentform, it should be locked too.
What to do to lock as well the parent form as well as the subform, and get them both in edit-mode or add-mode , by hitting the buttons i mentioned.
 
I have composed a four minute video HERE: showing one way of denying the user access to your subform. The subform is actually inside another control called a subform window, you can control the properties of this window. The video demonstrates how to "disable" (enable equals false) this subform window.
 
Last edited:
thank for the help
 

Users who are viewing this thread

Back
Top Bottom