PEReportFieldMappingInfo

PEReportFieldMappingInfo contains information required to associate (map) a report field to a database field that has been changed.

C Syntax
typedef struct PEReportFieldMappingInfo {
    WORD StructSize;
    WORD valueType;
    char tableAliasName[PE_TABLE_NAME_LEN];
    char databaseFieldName[PE_DATABASE_FIELD_NAME_LEN];
    int mappingTo;
} PEReportFieldMappingInfo;
Members

StructSize

Specifies the size of the PEReportFieldMappingInfo structure. Initialize this member to PE_SIZEOF_REPORT_FIELDMAPPING_INFO.

valueType

Indicates the field value type. The Value Type can be one of the following constants:


Constant Description


PE_FVT_INT8SFIELD

8-bit integer signed


PE_FVT_INT8UFIELD

8-bit integer unsigned


PE_FVT_INT16SFIELD

16-bit integer signed


PE_FVT_INT16UFIELD

16-bit integer unsigned


PE_FVT_INT32SFIELD

32-bit integer signed


PE_FVT_INT32UFIELD

32-bit integer unsigned


PE_FVT_NUMBERFIELD

Number field


PE_FVT_CURRENCYFIELD

Currency field


PE_FVT_BOOLEANFIELD

Boolean field


PE_FVT_DATEFIELD

Date field


PE_FVT_TIMEFIELD

Time field


PE_FVT_STRINGFIELD

String field


PE_FVT_TRANSIENTMEMOFIELD

Transient Memo field


PE_FVT_PERSISTENTMEMOFIELD

Persistent Memo field


PE_FVT_BLOBFIELD

BLOB field


PE_FVT_DATETIMEFIELD

Date/Time field


PE_FVT_BITMAPFIELD

Bitwise field


PE_FVT_ICONFIELD

Icon field


PE_FVT_PICTUREFIELD

Picture field


PE_FVT_OLEFIELD

OLE field


PE_FVT_GRAPHFIELD

Graph field


PE_FVT_UNKNOWNFIELD

Unknown field type

tableAliasName

A string (of length PE_TABLE_NAME_LEN = 128) which contains the database table alias name.

databaseFieldName

A string of length (of length PE_DATABASE_FIELD_NAME_LEN = 128) which contains the name of the database field.

mappingTo

An index of a field in an array in the databaseField member of PEFieldMappingEventInfo, which contains the list of database fields. If the field is unmapped then this value is -1.

Delphi Record Listing
type
PETableAliasNameType = Array [0..PE_TABLE_NAME_LEN -1] of Char;
PEDatabaseFieldNameType = Array [0..PE_DATABASE_FIELD_NAME_LEN -1]
of Char;
PEReportFieldMappingInfo = record
StructSize : Word;
valueType : Word;
tableAliasName : PETableAliasNameType;
databaseFieldName : PEDatabaseFieldNameType;
mappingTo : integer;
PEFieldMappingEventInfo->databaseFields}
end;


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