|
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. |
- Note:
- Must be called before TFormer_SetTxtDataFile or TFormer_SetXmlDataFile.
- See also:
- TFormer_SetTxtDataFile, TFormer_SetXmlDataFile.
|