Referring to Report Alerts in formulas

Alerts can be referred to in formulas. Any formula that references an alert becomes a print time formula.

The following functions are available:

  • IsAlertEnabled( )

  • IsAlertTriggered( )

  • AlertMessage( )

These functions behave the same as alerts created in the Create Alerts dialog box:

  • IsAlertTriggered("AlertName") is true only for the records on which the alert is triggered

  • AlertMessage("AlertName") displays the message for a record when the alert is true.

Because alerts are not field objects (you cannot drop them into the report), alerts are represented differently from report fields in the Formula Workshop. In the Functions tree, you'll see an Alerts heading where the functions themselves appear. Available alerts are listed by name below that.