ERRCODE TFormer_SetImportFieldForRecordCopy ( HTFORM  pInstance,
LPCSTR  pszFieldName,
BOOL  bIsAttribute 
)

Specifies which DataField in the input controls the number of Record copies.

Returns:
- ErrOk (0) in case of success
- Non-zero if error occurred
Parameters:
[in] pInstance The TFORMer-Instance provided by a previous call to TFormer_Init.
[in] pszFieldName The DataField name which holds the record-copy counter. NULL if none should be used (default: NULL).
[in] bIsAttribute Specifies if the given DataField name is the name of an attribute field. Used only for XML-Imports.
Remarks:
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.
Note:
Must be called before TFormer_SetTxtDataFile or TFormer_SetXmlDataFile.
See also:
TFormer_SetTxtDataFile, TFormer_SetXmlDataFile.


© 2006-2009 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Sep 2 16:01:09 2009 for TFORMer Runtime DLL/Shared Library with doxygen 1.5.8