PESubreportInfo

PESubreportInfo contains information about subreports in a report. This structure is used by PEGetSubreportInfo, to gather information about a specified subreport.

C Syntax
typedef struct PESubreportInfo {
    WORD StructSize;
    char name [PE_SUBREPORT_NAME_LEN];
    short NLinks;
    short isOnDemand;
    short external;
    short reimportOption;
} PESubreportInfo;
Members

StructSize

Specifies the size of the PESubreportInfo structure. Initialize this member to PE_SIZEOF_SUBREPORT_INFO.

name

Specifies the string (of length PE_SUBREPORT_NAME_LEN = 128, NULL-terminated) containing the name of the subreport. This is the name assigned to the subreport when it was first created.

NLinks

Specifies the number of links to primary report data.

isOnDemand

TRUE if the subreport is a real-time subreport. FALSE otherwise.

external

TRUE if the subreport is imported. FALSE otherwise.

reimportOption

Specifies the update option for the subreport. Use PE_SRI_ONOPENJOB (reimport the subreport when the main report is opened) or PE_SRI_ONFUNCTIONCALL (reimport the subreport when the API is called).

VB Type Listing
Type PESubreportInfo
    StructSize As Integer
    Name As String * PE_SUBREPORT_NAME_LEN
    NLinks As Integer
    IsOnDemand As Integer
    external As Integer
    reimportOption As Integer
End Type
Delphi Record Listing
type
    PESubreportNameType
    = array[0..PE_SUBREPORT_NAME_LEN-1] of char;
    PESubreportInfo = record
        structSize: Word;
        name: PESubreportNameType;
        NLinks: smallint
        IsOnDemand: smallint
    end;


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