PEFieldMappingEventInfo

PEFieldMappingEventInfo contains information related to mapped database fields.

C Syntax
typedef struct PEFieldMappingEventInfo {
    WORD StructSize;
    PEReportFieldMappingInfo **reportFields;
    WORD nReportFields;
    PEReportFieldMappingInfo **databaseFields;
    WORD nDatabaseFields
} PEFieldMappingEventInfo;
Members

StructSize

Specifies the size of the PEFieldMappingEventInfo structure. Initialize the member to PE_SIZEOF_FIELDMAPPING_EVENT_INFO.

reportFields

A pointer to an array of pointers to PEReportFieldMappingInfo, containing information about fields in the report.

nReportFields

Size of the reportFields array (equivalent to the number of fields in the report).

databaseFields

A pointer to an array of pointers to PEReportFieldMappingInfo data members containing information about fields in the new database file.

nDatabaseFields

Size of the databaseField array.

Remarks

To map a report field to a database field the member mappingTo of each PEReportFieldMappingInfo, in the member reportFields array is assigned the index of the appropriate field in the member databaseFields array.

Delphi Record Listing
       type
              PEFieldMappingInfoPtr = ^PEReportFieldMappingInfo;
PEFieldMappingInfoDoublePtr = ^PEFieldMappingInfoPtr;
type
PEFieldMappingEventInfo = record
StructSize : Word;
reportFields : PEFieldMappingInfoDoublePtr;
nReportFields : Word;
databaseFields : PEFieldMappingInfoDoublePtr;
nDatabaseFields : Word;
end;


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