Hi all,
I'm trying to create a report that has a txt box with a list of evidence and a check box to the right of that to represent whether the evidence is completed or not.
I want to highlight (specifically bold and red text) the txt box if the check box isn't checked. Thought it would be basic code but it's not working.
Here is the simple code I used:
If Me.Ev1.Value = False Then
Me.Ev1Completed.ForeColor = RGB(255, 0, 0) And Me.Ev1Completed.FontBold = True
End If
I placed this code on the "OnActivate" property of the report and this doesn't do a thing. No error msg, no formatting change either.
Any help would be greatly appreciated.
Thanks!
Andy
I'm trying to create a report that has a txt box with a list of evidence and a check box to the right of that to represent whether the evidence is completed or not.
I want to highlight (specifically bold and red text) the txt box if the check box isn't checked. Thought it would be basic code but it's not working.
Here is the simple code I used:
If Me.Ev1.Value = False Then
Me.Ev1Completed.ForeColor = RGB(255, 0, 0) And Me.Ev1Completed.FontBold = True
End If
I placed this code on the "OnActivate" property of the report and this doesn't do a thing. No error msg, no formatting change either.
Any help would be greatly appreciated.
Thanks!
Andy