
Originally Posted by
pbaldy
Did you try either of the methods in the links I posted? I've used the second in applications for UK clients with no problems.
Could not try the first link as I do not have admin access and I just don;t know where to add the code provided in the 2nd link.
I'm jusing VB code (provided by access forums) for the commnad button but thats as far as my limited knowledge goes.
Code:
Private Sub Command4_Click()
On Error GoTo Err_Command4_Click
Dim stDocName As String
stDocName = "Tracking Report"
DoCmd.OpenReport stDocName, acPreview
Exit_Command4_Click:
Exit Sub
Err_Command4_Click:
MsgBox Err.Description
Resume Exit_Command4_Click
End Sub