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

A list of colors for crystal?

Status
Not open for further replies.

cjbrown815

IS-IT--Management
Mar 2, 2006
525
US
Hello,
I'm looking for more font colors in crystal.

crYellow needs to be maybe crGold? Where can I find a list of options?

thanks

-CJ

SQL2005// CRXIr2// XP Pro

"Progress lies not in enhancing what is, but in advancing toward what will be"
-KHALIL GIBRAN 1883-1931
 
If you go into any color formatting formula area, it will show you the options commented out, or you can look in the function list at the top. In addition to standard colors, you can create your own using rgb(,,) where you enter a value from 0 to 250 (if I remember correctly) for each of the red, green, and blue values.

-LB
 
So in the formula below, how would I incorprate the rgb(,,)?
Thanks

if {#Mold} = "TNTC" then crRed else
if {#Mold} = "NR" then crBlue else
if {#Mold} = "<1" then crGreen else
if {#Mold} = ">150" then crRed else
if totext(val({#Mold}),"000") in "000" to "005" then
crGreen else
if totext(val({#Mold}),"000") in "006" to "009" then
crYellow else
if totext(val({#Mold}),"000") > "009" then
crRed else
crNoColor

-CJ

SQL2005// CRXIr2// XP Pro

"Progress lies not in enhancing what is, but in advancing toward what will be"
-KHALIL GIBRAN 1883-1931
 
if {#Mold} = "TNTC" then rgb(100,100,200) else //etc.

Or you can use color(100,100,200)//etc.

You'll have to experiment with the values.

-LB
 
thank you

-CJ

SQL2005// CRXIr2// XP Pro

"Progress lies not in enhancing what is, but in advancing toward what will be"
-KHALIL GIBRAN 1883-1931
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top