Hi, I have a vba code that updates a status field when a condition is met.
This works but only updates the first record not all of them.
Is there a way to update all the records if the criteria is met?
Thanks.
Fen
'This makes the due payment marked as delinquent if the due date is <3 days past today
Private Sub Form_Load()
If Now() > [DueDate] + 3 Then
[Deliquent] = "Yes"
End If
End Sub
This works but only updates the first record not all of them.
Is there a way to update all the records if the criteria is met?
Thanks.
Fen
'This makes the due payment marked as delinquent if the due date is <3 days past today
Private Sub Form_Load()
If Now() > [DueDate] + 3 Then
[Deliquent] = "Yes"
End If
End Sub