Selects if DataField-values should be reused in consecutive Records.
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]
bReuse
Should data be reused for each record?
Remarks:
If set to true, then the value of a DataField will be preserved between Records.
The last value will be reused in consecutive Records until a new value is set. This allows you to omit TFormer_SetVarValue for a DataField if the value should be the same as in the previous Record.
If set to false (which is the default), then all DataFields are set to "" (empty string) or 0 (depending on the DataFieldType) between Records. It is recommended to set all DataFields for each Record.