PEReportAlertInfo

PEReportAlertInfo contains information on Report Alerts. This information is used by PEGetNthReportAlert, to retrieve information on the Report Alerts in the report.

C Syntax
typedef struct PEReportAlertInfo
{
    WORD StructSize;
    short nameLength;
    HANDLE name;
    short isEnabled;
    short alertConditionLength;
    HANDLE alertConditionFormula;
    DWORD nTriggeredInstances;
    short alertMessageLength;
    short defaultAlertMessageLength;
    HANDLE alertMessageFormula;
    HANDLE defaultAlertMessage;
} PEReportAlertInfo;
Members

Release the HANDLE even if you are not using it.

StructSize

Specifies the size of the PEReportAlertInfo structure. Initialize this member to PE_SIZEOF_REPORT_ALERT_INFO.

namelenght

Specifies the length of the Report Alert's name.

name

Specifies a handle to the string containing the name of the Report Alert. This is the name assigned to the Report Alert when it was first created.

isEnabled

Specifies wether or not the Report Alert is enabled. Pass TRUE to enable, or PE_UNCHANGED for no change.

alertCondition
Lenght

Specifies the length of the condition defined for the Report Alert.

alertCondition
Formula

Specifies a handle to the condition formula of the Report Alert. This is the formula created to trigger the Report Alert.

nTriggered
Instances

Specifies the number of times a Report Alert was triggered.

alertMessage
Lenght

Specifies the length of the conditional message defined for the Report Alert.

defaultAlert
MessageLenght

Specifies the length of the default message defined for the Report Alert.

alertMessage
Formula

Specifies a handle to the formula used to create the alert message when a Report Alert is triggered.

defaultAlertMessge

Specifies a handle to the default Report Alert message.

VB Type Listing
Type PEReportAlertInfo
    StructSize As Integer
    nameLength As Integer
    name as Long
    isEnabled As Integer
    alertConditionLenght As Integer
    alertConditionFormula As Long
    nTriggeredInstances As Long
    alertMessageLength As Integer
    defaultAlertmessageLength As Integer
    alertMessageFormula As Long
    defaultAlertMessage as Long
End Type
Delphi Record Listing
type PEReportAlertInfo = record
    StructSize : Word;
    nameLength : Smallint;
    name : HWND;
    isEnabled : Smallint;
    alertConditionLength : Smallint;
    alertConditionFormula : HWND;
    nTriggeredInstances : DWord;
    alertMessageLength : SmallInt;
    defaultAlertMessageLength : SmallInt;
    alertMessageFormula : HWND;
    defaultAlertMessage : HWND;
end;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com