Conditional Formatting Functions


A conditional formatting function applies specific attributes to a report object or section if certain criteria are met. You learned about conditional formatting in Chapter 10. The conditional formatting functions contain functionality related to conditional formatting.

Table C-17: Conditional formatting functions

Function

Description

Arguments

GridRowColumn-Value (name)

Returns the value of a specified level of dimension in an OLAP grid or cross-tab.

name is a String value that is an Alias for Formulas. The Alias for Formulas is a name you have specified for a level of dimension in an OLAP grid or a cross-tab.

CurrentFieldValue

Returns the current value of the field that is about to be printed.

(no arguments)

DefaultAttribute

The value returned by DefaultAttribute depends upon the value selected for the attribute being formatted in the attribute value interface.

(no arguments)

RGB (red, green, blue)

Returns the color attribute as specified by the red, green, and blue components.

red is a Number value representing the red component of the resultant color; value can be from 0 to 255.

green is a Number value representing the green component of the resultant color; value can be from 0 to 255.

blue is a Number value representing the blue component of the resultant color; value can be from 0 to 255.




Mastering Business Analysis with Crystal Reports 9
Mastering Business Analysis with Crystal Reports 9 (Wordware Applications Library)
ISBN: 1556222939
EAN: 2147483647
Year: 2004
Pages: 177
Authors: Chris Tull

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net