cjbrown815
IS-IT--Management
Hi,
I have a XTAB report ROW #1 SAMPLE.DATE1, ROW #2 SAMPLEPARAM.PA_NAME, COLUMN #1 @SORT COLUMN #2({SAMPLE.SAMPLE_TYPE} + "=" + {SAMPLETYPE.ST_NAME}) for display
the summarized field is MAX of SAMPLEPARAM.SRESULT
the probem is Crystal is only picking up the first part of the conditional formating criteria. Regardless its turning anything > 0 to red
Conditional Formating
if {SAMPLEPARAM.PA_NAME} = "Coliform-Ct" and val(currentfieldvalue) > 0 or
currentfieldvalue = "TNTC" or
currentfieldvalue like ">*" then crRed else
if currentfieldvalue = "NR" then crBlue else
if {SAMPLEPARAM.PA_NAME} = "Yeast-Ct" and val(currentfieldvalue) >= 10 or
currentfieldvalue = "TNTC" or
currentfieldvalue like ">*" then crRed else
if currentfieldvalue = "NR" then crBlue else
if {SAMPLEPARAM.PA_NAME} = "Mold-Ct" and val(currentfieldvalue) >= 10 or
currentfieldvalue = "TNTC" or
currentfieldvalue like ">*" then crRed else
if currentfieldvalue = "NR" then crBlue else
crGreen
-CJ
SQL2005// CRXIr2// XP Pro
"Progress lies not in enhancing what is, but in advancing toward what will be"
-KHALIL GIBRAN 1883-1931
I have a XTAB report ROW #1 SAMPLE.DATE1, ROW #2 SAMPLEPARAM.PA_NAME, COLUMN #1 @SORT COLUMN #2({SAMPLE.SAMPLE_TYPE} + "=" + {SAMPLETYPE.ST_NAME}) for display
the summarized field is MAX of SAMPLEPARAM.SRESULT
the probem is Crystal is only picking up the first part of the conditional formating criteria. Regardless its turning anything > 0 to red
Conditional Formating
if {SAMPLEPARAM.PA_NAME} = "Coliform-Ct" and val(currentfieldvalue) > 0 or
currentfieldvalue = "TNTC" or
currentfieldvalue like ">*" then crRed else
if currentfieldvalue = "NR" then crBlue else
if {SAMPLEPARAM.PA_NAME} = "Yeast-Ct" and val(currentfieldvalue) >= 10 or
currentfieldvalue = "TNTC" or
currentfieldvalue like ">*" then crRed else
if currentfieldvalue = "NR" then crBlue else
if {SAMPLEPARAM.PA_NAME} = "Mold-Ct" and val(currentfieldvalue) >= 10 or
currentfieldvalue = "TNTC" or
currentfieldvalue like ">*" then crRed else
if currentfieldvalue = "NR" then crBlue else
crGreen
-CJ
SQL2005// CRXIr2// XP Pro
"Progress lies not in enhancing what is, but in advancing toward what will be"
-KHALIL GIBRAN 1883-1931