blindlemonray
Technical User
I would like to set the forecolour on a report to red if the value of the text box is less then 0 i.e. -56%.... is the code something like
or
I hav looked at a lot of threads but i still seem to be getting the error code
The expression you have entered has no value.
Any suggestions much appreciated.
Code:
if me.textbox <0 then me.textbox.forecolor = vbRed
Code:
if me.textbox <0 then me.textbox.forecolor = RGB(255,0,0)
I hav looked at a lot of threads but i still seem to be getting the error code
The expression you have entered has no value.
Any suggestions much appreciated.