I need to set conditional formatting for a given field on my report which will "flag" records that exceed a user defined threshold. The code I've tried to use follows but gives a run-time error 2447 "there is an invalid use of the .(dot) or ! operator or invalid parentheses"
Any help is greatly appreciated!!
Code:
If [PercRejected] > [DetailThreshold] Then
[PercRejected].BackColor = 4227327 'orange
Else
[PercRejected].BackColor = 16777215 'white
End If