ChrisCalvert
Technical User
I am trying to use a button to activate a 'printer friendly' version of a form. I want this to open to the same record as the 'normal version' form, print, and then close. I have the printing no problem, but I get a runtime 2585 because it seems like it is trying to close while it is printing. How can I get it to wait untill it is through printing then close? I am running 2000.
Here is the code so far:
Private Sub Form_Activate()
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
DoCmd.Close
End Sub
Here is the code so far:
Private Sub Form_Activate()
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
DoCmd.Close
End Sub