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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional Color Control

Status
Not open for further replies.

stumpyx

Programmer
Jul 5, 2002
15
CA
I was just wondering how you control colors condtionally. I'm pretty sure that you just put a boolean statement and then do you put a number that represents a color? And if this is right how does this coding scheme work?
 
You don't need to follow the hex style of number codes. Just refer to colours by names in - like you suggested - boolean type conditions.

e.g.

If 1 = 1 then crred else crblue

Naith
 
Its even easier than that. The following formula works as well

If <<condition>> then Blue else Red

Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top