I am new to Microsoft Access.
Problem : I want to force the user to enter data in a subform (invoice details) after entering data in the parent form (invoice header).
What I have done so far : I tried to disable the navigation keys of the parent form when the user enters the subform and enable it after the user leaves the subform. However, after going in the subform, if the user clicks on the parent form without entering data in the subform, then the navigation keys of the parent form appears in which he can click on next and previous record/invoice. This leads to a runtime error later because the invoice header does not have any associated invoice details.
TIA.
Problem : I want to force the user to enter data in a subform (invoice details) after entering data in the parent form (invoice header).
What I have done so far : I tried to disable the navigation keys of the parent form when the user enters the subform and enable it after the user leaves the subform. However, after going in the subform, if the user clicks on the parent form without entering data in the subform, then the navigation keys of the parent form appears in which he can click on next and previous record/invoice. This leads to a runtime error later because the invoice header does not have any associated invoice details.
TIA.