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.
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.