Rx_
Nothing In Moderation
- Local time
- Today, 13:13
- Joined
- Oct 22, 2009
- Messages
- 2,803
Private Sub sfROWLegalInfo_Enter() ' name of the sub form
blAddNewMode = False
End Sub
A form with several subforms. A combobox selection determines what subforms can have data entered. Once data is entered in the subform the combobox is locked down by setting a boolean value to false.
So, once the main form choices are made, clicking into a subform will change the boolean blAddNewMode.
What was expected:
Clicking from a control on the parent Form down to a control in the subform (i.e. enter the subform) would trigger this event. But it does not.
What is the best way to notify the parent form variable that the focus has gone into a sub-form?
blAddNewMode = False
End Sub
A form with several subforms. A combobox selection determines what subforms can have data entered. Once data is entered in the subform the combobox is locked down by setting a boolean value to false.
So, once the main form choices are made, clicking into a subform will change the boolean blAddNewMode.
What was expected:
Clicking from a control on the parent Form down to a control in the subform (i.e. enter the subform) would trigger this event. But it does not.
What is the best way to notify the parent form variable that the focus has gone into a sub-form?