J
JT
I am having trouble with a continuous form. I have a form which shows the
expiry dates of qualifications and licences. In it I have one field which
calculates the days overdue. The expiry date is shown 14 days prior to
expiration. My problem is I have written an if statement as follows:
If [Days Overdue] > 0 Then
[Days Overdue].ForeColor = 255
Else
[Days Overdue].ForeColor = 0
End If
The problem is that it works but all the fields in the continuous form turn
red.
How can I keep a continuous form but have the code written so that it
addresses each record individually.
Many thanks in advance to anyone that may be able to help me.
JT
expiry dates of qualifications and licences. In it I have one field which
calculates the days overdue. The expiry date is shown 14 days prior to
expiration. My problem is I have written an if statement as follows:
If [Days Overdue] > 0 Then
[Days Overdue].ForeColor = 255
Else
[Days Overdue].ForeColor = 0
End If
The problem is that it works but all the fields in the continuous form turn
red.
How can I keep a continuous form but have the code written so that it
addresses each record individually.
Many thanks in advance to anyone that may be able to help me.
JT