G
Guest
I was advised earlier inorder to print a single label in Access. I would
creat a new command button on a form and add this line to the command button
but I get an error message. Can anyone tell me what is wrong.
Private Sub Command89_Click()
On Error GoTo Err_Command89_Click
stDocName = "LabelsCustomerInvoices"
Me.Refresh
DoCmd.OpenReport "LabelsCustomerInvoices", acViewPreview, , "id = " & Me.id
creat a new command button on a form and add this line to the command button
but I get an error message. Can anyone tell me what is wrong.
Private Sub Command89_Click()
On Error GoTo Err_Command89_Click
stDocName = "LabelsCustomerInvoices"
Me.Refresh
DoCmd.OpenReport "LabelsCustomerInvoices", acViewPreview, , "id = " & Me.id