I have a form that loads a amongst other things a "due date" field from a table.
If any due date is shown that is after todays date, i want it show red.
I can make this work for 1 record, just need some help with the loop structure
to test all "due date" records displayed. This is what i have so far that works with 1 record.
If DueDate.Value > Date Then
Me.DueDate.BackColor = vbRed
Else
Me.DueDate.BackColor = vbBlack
End If
If any due date is shown that is after todays date, i want it show red.
I can make this work for 1 record, just need some help with the loop structure
to test all "due date" records displayed. This is what i have so far that works with 1 record.
If DueDate.Value > Date Then
Me.DueDate.BackColor = vbRed
Else
Me.DueDate.BackColor = vbBlack
End If