P
PK
I have a command button linked to a (label) report, via a query, displayed on
a Form. The query prompts for a unique record to be selected. I would like
the command button to request the number of copies required rather than just
print one label. Believe it's something connected to an Input Box. Current
Command Button coding as follows:
Private Sub Command59_Click()
On Error GoTo Err_Command59_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Frm_injection_label"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command59_Click:
Exit Sub
Err_Command59_Click:
MsgBox Err.Description
Resume Exit_Command59_Click
End Sub
Any help greatly appreciated. First time user of this site.
a Form. The query prompts for a unique record to be selected. I would like
the command button to request the number of copies required rather than just
print one label. Believe it's something connected to an Input Box. Current
Command Button coding as follows:
Private Sub Command59_Click()
On Error GoTo Err_Command59_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Frm_injection_label"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command59_Click:
Exit Sub
Err_Command59_Click:
MsgBox Err.Description
Resume Exit_Command59_Click
End Sub
Any help greatly appreciated. First time user of this site.