Hi @John Lee,
You can simplify handling the opening and closing of forms using the following snippet:
The
Let me know if you need further clarification.
You can simplify handling the opening and closing of forms using the following snippet:
Code:
Private Sub cmdOpenfrmFrontEnd_Click()
DoCmd.BrowseTo acBrowseToForm, "frmFrontEnd"
End Sub
BrowseTo
command also supports a Where
clause, which is useful if you need to specify the record the form should display. It's a handy approach for what you're trying to achieve.Let me know if you need further clarification.