Sharon Hague
Registered User.
- Local time
- Today, 23:32
- Joined
- Jul 10, 2003
- Messages
- 138
Hi All
I have a problem with some coding I have entered into a report I have created.
My report comprises of 3 fields - MyDate, MyDay and Overtime.
I want the report to show Saturdays in red, therefore I have entered the following code into the on format part of my detail part of my report: -
If Me.MyDay = 7 Then
Me.MyDay.FontBold = True
Me.MyDay.ForeColor = vbRed
Else
Me.MyDay.FontBold = False
Me.MyDay.ForeColor = vbBlack
End If
When I run the report everything is displayed in black.
What am I doing wrong?
I'd appreciate anybody's help on this.
I have a problem with some coding I have entered into a report I have created.
My report comprises of 3 fields - MyDate, MyDay and Overtime.
I want the report to show Saturdays in red, therefore I have entered the following code into the on format part of my detail part of my report: -
If Me.MyDay = 7 Then
Me.MyDay.FontBold = True
Me.MyDay.ForeColor = vbRed
Else
Me.MyDay.FontBold = False
Me.MyDay.ForeColor = vbBlack
End If
When I run the report everything is displayed in black.
What am I doing wrong?
I'd appreciate anybody's help on this.