D
dogfish
Howdy, i would like a traffic light system on TOTAL_PERCENT so if the result
is between 0 and 56 the colour will be red etc. i have this code on the open
action of the report but it comes up with a compile error else without if.
Please help i am not a code monkey, please help.
If Me.TOTAL_PERCENT >= 0 < 56 Then fontcolour = 255
ElseIf Me.TOTAL_PERCENT >= 57 < 64 Then fontcolour = 39423
ElseIf Me.TOTAL_PERCENT >= 65 < 100 Then fontcolour = 65280
End If
End If
End If
is between 0 and 56 the colour will be red etc. i have this code on the open
action of the report but it comes up with a compile error else without if.
Please help i am not a code monkey, please help.
If Me.TOTAL_PERCENT >= 0 < 56 Then fontcolour = 255
ElseIf Me.TOTAL_PERCENT >= 57 < 64 Then fontcolour = 39423
ElseIf Me.TOTAL_PERCENT >= 65 < 100 Then fontcolour = 65280
End If
End If
End If