Hello,
I have a form named "Order Request Menu" with a command button that prints the current record that appears on the Order Request Menu form. The vba code i've put on the button (Print Record) is:
What the code from above does is when i clicked the Print Record, it will print preview the current record and hides the main form. Now, my problem is how can i reopen my main form after i close the print preview?Code:Private Sub Command55_Click() Me.Visible = False DoCmd.OpenReport "Print Order Request", acViewPreview, , "[ID] = Forms![Order Request Menu]![ID]" End Sub![]()
Any help or suggestion to revise my code will be much appreciated
Thank you.
* Sorry, this post has been edited as i forgot to mentioned that the Order Request Form is POP UP and MODAL.