hi
i have created a button by a wizard in access 2007 on a form populated by a query, i have added a button so that it opens my invoice
however when we click the button nothing happens but my all my other buttons work
here is the code:
Private Sub Command17_Click()
On Error GoTo Err_Command17_Click
stDocName = "Appointments invoice"
Exit_Command17_Click:
Exit Sub
Err_Command17_Click:
MsgBox Err.Description
Resume Exit_Command17_Click
End Sub
i have created a button by a wizard in access 2007 on a form populated by a query, i have added a button so that it opens my invoice
however when we click the button nothing happens but my all my other buttons work
here is the code:
Private Sub Command17_Click()
On Error GoTo Err_Command17_Click
stDocName = "Appointments invoice"
Exit_Command17_Click:
Exit Sub
Err_Command17_Click:
MsgBox Err.Description
Resume Exit_Command17_Click
End Sub