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 / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

pszFieldNameLPCSTR / LPCWSTR


The DataField name which holds the Record-copy counter. NULL if none should be used (default: NULL).

bIsAttributeBOOL


Specifies if the given DataField name is the name of an attribute field. Used only for XML-Imports.

Search documentation

Search in
More scopes
Additional scopes

All contents