Hi there,
I have a command button which is meant to take the user back to the main menu and close the current form but the normal command doesn't work because the form has a subform open as well.
The main form is called frm_tutor and the subform is called frm_tutorial1 but I don't know to format the following syntax to close both the subform and normal form.
I have a command button which is meant to take the user back to the main menu and close the current form but the normal command doesn't work because the form has a subform open as well.
The main form is called frm_tutor and the subform is called frm_tutorial1 but I don't know to format the following syntax to close both the subform and normal form.
Code:
DoCmd.close acForm, "frm_tutor", acSaveYes