J
Jocamo
Private Sub Command64_Click()
On Error GoTo Err_Command64_Click
Dim stDocName As String
stDocName = "RPTactiveleadsheet"
DoCmd.OpenReport stDocName, acNormal
DoCmd.OpenReport "OverdueReminder",
acViewNormal, , "[CustomerID]=Forms"
![CustomersOverdue]![CustomerID]"
Exit_Command64_Click:
Exit Sub
Err_Command64_Click:
MsgBox Err.Description
Resume Exit_Command64_Clickv
On Error GoTo Err_Command64_Click
Dim stDocName As String
stDocName = "RPTactiveleadsheet"
DoCmd.OpenReport stDocName, acNormal
DoCmd.OpenReport "OverdueReminder",
acViewNormal, , "[CustomerID]=Forms"
![CustomersOverdue]![CustomerID]"
Exit_Command64_Click:
Exit Sub
Err_Command64_Click:
MsgBox Err.Description
Resume Exit_Command64_Clickv