Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This/Me Keyword 1

Status
Not open for further replies.

madcrystal

Technical User
May 5, 2011
8
US
I'm trying to change the font color based on the value. There are about 40 places on the page I have to do this, and I'd prefer not to specify the report field each time. Instead, I'm trying to create something Copy/Paste-able like this:

if {Me} >= 0 Then crGreen
Else crRed

Logically, you're accessing the format editor through the report field it's affecting - there must be a way to not have to re-specify? Maybe I'm missing an even better way to accomplish this?

Thanks!
 
You could select all relevant fields at once and then apply this formula:

if currentfieldvalue >= 0 then
crGreen else
crRed

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top