I was hoping any of you could put me on the right track to figuring out this code:
Private Sub LateRecords_Click()
On Error GoTo LateRecords_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FormProvisionstoFollow"
If [FormProvisionstoFollow].[Ackn_of_Receipt_Due] < Now() Then
If IsNull([FormProvisionstoFollow].[Date Received]) Then
DoCmd.OpenForm stDocName, , , stLinkCriteria
End If
Exit_LateRecords_Click:
Exit Sub
Err_LateRecords_Click:
MsgBox Err.Description
Resume Exit_LateRecords_Click
End Sub
All its basically saying is when command button "laterecords" is clicked, Form "FormProvisionstoFollow" will open, but only the records where [FormProvisionstoFollow].[Ackn_of_Receipt_Due] < Now() and IsNull([FormProvisionstoFollow].[Date Received]). I know im way off track. Please help me : )
Thank you all.
Private Sub LateRecords_Click()
On Error GoTo LateRecords_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FormProvisionstoFollow"
If [FormProvisionstoFollow].[Ackn_of_Receipt_Due] < Now() Then
If IsNull([FormProvisionstoFollow].[Date Received]) Then
DoCmd.OpenForm stDocName, , , stLinkCriteria
End If
Exit_LateRecords_Click:
Exit Sub
Err_LateRecords_Click:
MsgBox Err.Description
Resume Exit_LateRecords_Click
End Sub
All its basically saying is when command button "laterecords" is clicked, Form "FormProvisionstoFollow" will open, but only the records where [FormProvisionstoFollow].[Ackn_of_Receipt_Due] < Now() and IsNull([FormProvisionstoFollow].[Date Received]). I know im way off track. Please help me : )
Thank you all.