Alerts


Alert functions allow you to create print time formulas related to Crystal Reports' Report Alerts.

Table C-15: Alert functions

Function

Description

Arguments

IsAlertEnabled (alertName)

Returns Boolean value indicating whether or not the alert is enabled.

alertName is the name of an alert (in quotation marks) that you've already created. Locate the available alerts in the Alert Names list, which appears in the Formula Workshop's Functions tree once you've created an alert.

IsAlertTriggered (alertName)

Returns Boolean value indicating whether or not the alert is "triggered" — that is, whether or not the report data meets the alert condition formula.

alertName is the name of an alert (in quotation marks) that you've already created. Locate the available alerts in the Alert Names list, which appears in the Formula Workshop's Functions tree once you've created an alert.

AlertMessage (alertName)

Returns the alert message string for records that "trigger" the alert (that is, for records that meet the alert condition formula).

Returns an empty string ("") for records that do not meet the alert condition formula.

alertName is the name of an alert (in quotation marks) that you've already created. Locate the available alerts in the Alert Names list, which appears in the Formula Workshop's Functions tree once you've created an alert.




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