PEReportFieldMappingInfo contains information required to associate (map) a report field to a database field that has been changed.
typedef struct PEReportFieldMappingInfo {
WORD StructSize;
WORD valueType;
char tableAliasName[PE_TABLE_NAME_LEN];
char databaseFieldName[PE_DATABASE_FIELD_NAME_LEN];
int mappingTo;
} PEReportFieldMappingInfo;
Specifies the size of the PEReportFieldMappingInfo structure. Initialize this member to PE_SIZEOF_REPORT_FIELDMAPPING_INFO. | ||
Indicates the field value type. The Value Type can be one of the following constants: | ||
| Constant | Description | |
A string (of length PE_TABLE_NAME_LEN = 128) which contains the database table alias name. | ||
A string of length (of length PE_DATABASE_FIELD_NAME_LEN = 128) which contains the name of the database field. | ||
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 | ||
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 |