I am trying to trap this error unsuccessfully! Here is my code! I still get the same error message; From name is TimeCards
Dim FrmCtxID As Long
Dim ID As Long
FrmCtxID = Screen.ActiveForm.HelpContextId
On Error GoTo Err_Form_Load:
If Me.RecordsetClone.RecordCount = 0 Then
MsgBox "No TimeCards have been found matching your request", vbOKOnly
Cancel = True
End If
If Me.NewRecord = True Then
Exit Sub
End If
End_Form_Load:
Exit Sub
Err_Form_Load:
If Err.Number = 2476 Then
Resume Next
Else
Resume End_Form_Load
Exit Sub
End If