spectraflame
Well-known Member
- Joined
- Dec 18, 2002
- Messages
- 830
- Office Version
- 365
- Platform
- Windows
I have created a print button that when clicked will print a specific form. The problem that I am having is that it prints a copy of the form for each record that I have in my database. I just need a single copy.
Is there a way to force the print button to only print a single copy of this form? By the way, this form has no data from my database. It just contains data labels.
Here is the code that I am currently using.
Private Sub Print_Blank_Click()
On Error GoTo Err_Print_Blank_Click
Dim stDocName As String
stDocName = "Blank Work Order"
DoCmd.OpenReport stDocName, acNormal
Exit_Print_Blank_Click:
Exit Sub
Err_Print_Blank_Click:
MsgBox Err.Description
Resume Exit_Print_Blank_Click
End Sub
Thanks,
Matthew
Is there a way to force the print button to only print a single copy of this form? By the way, this form has no data from my database. It just contains data labels.
Here is the code that I am currently using.
Private Sub Print_Blank_Click()
On Error GoTo Err_Print_Blank_Click
Dim stDocName As String
stDocName = "Blank Work Order"
DoCmd.OpenReport stDocName, acNormal
Exit_Print_Blank_Click:
Exit Sub
Err_Print_Blank_Click:
MsgBox Err.Description
Resume Exit_Print_Blank_Click
End Sub
Thanks,
Matthew