G
Guest
Help! I have a form that displays classes an individual has taken, the date
they took the training and the next date that its due. I would like for the
color of the font for the date trained to turn various colors depending on
how close it is to the training due date. For example: 90 days prior to the
due date i would like the date trained to turn blue. 60 days green....30
days red.....and past due orange. This is what i have so far. I am so open
for any suggestions!!!
If [information Awareness due date] - [currentdate] > 60 Then
[Information_Awareness_Date_Trained].ForeColor = vbBlue
ElseIf [information Awareness due date] - [currentdate] < 90 Then
[Information_Awareness_Date_Trained].ForeColor = vbBlue
End If
If [information Awareness due date] - [currentdate] < 30 Then
[Information_Awareness_Date_Trained].ForeColor = vbGreen
ElseIf [information Awareness due date] - [currentdate] > 60 Then
[Information_Awareness_Date_Trained].ForeColor = vbGreen
End If
they took the training and the next date that its due. I would like for the
color of the font for the date trained to turn various colors depending on
how close it is to the training due date. For example: 90 days prior to the
due date i would like the date trained to turn blue. 60 days green....30
days red.....and past due orange. This is what i have so far. I am so open
for any suggestions!!!
If [information Awareness due date] - [currentdate] > 60 Then
[Information_Awareness_Date_Trained].ForeColor = vbBlue
ElseIf [information Awareness due date] - [currentdate] < 90 Then
[Information_Awareness_Date_Trained].ForeColor = vbBlue
End If
If [information Awareness due date] - [currentdate] < 30 Then
[Information_Awareness_Date_Trained].ForeColor = vbGreen
ElseIf [information Awareness due date] - [currentdate] > 60 Then
[Information_Awareness_Date_Trained].ForeColor = vbGreen
End If