F
forest8
Hi
I am trying to program a print command in my database.
I have created a form which has a tab control with 3 pages. The Tab Control
is named "Main". When I have this code in the Event Procedure, nothing prints
out. Can someone point me in the right direction in how to fix this please?
Private Sub_Print_Form_Click()
Me.Main = 0
DoCmd.PrintOut
Me.Main = 1
DoCmd.PrintOut
Me.Main = 2
DoCmd.PrintOut
End Sub
Thank you in advance.
I am trying to program a print command in my database.
I have created a form which has a tab control with 3 pages. The Tab Control
is named "Main". When I have this code in the Event Procedure, nothing prints
out. Can someone point me in the right direction in how to fix this please?
Private Sub_Print_Form_Click()
Me.Main = 0
DoCmd.PrintOut
Me.Main = 1
DoCmd.PrintOut
Me.Main = 2
DoCmd.PrintOut
End Sub
Thank you in advance.