TFormer_SetImportFieldForRecordCopy
Provide Data · String encodings
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_SetImportFieldForRecordCopy(HTFORM pInstance, LPCSTR pszFieldName, BOOL bIsAttribute);
Windows only: UTF-16
ERRCODE TFormer_SetImportFieldForRecordCopyW(HTFORM pInstance, LPCWSTR pszFieldName, BOOL bIsAttribute);
Contract
Specifies which DataField in the input controls the number of Record copies.
TFORMer allows you to specify how often one Record of a DataSource should be used for printing (see also TFormer_SetRecordCopy). This functions specifies which DataField holds the number of copies for each Record of the DataSource.
Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
pszFieldNameLPCSTR / LPCWSTR |
|
bIsAttributeBOOL |
|
Note
Must be called before TFormer_SetTxtDataFile, TFormer_SetXmlDataFile or TFormer_SetODBCData