Saves the actual data as XML File in the internal TFORMer format.
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]
pszFileName
Data-File name to save the data to
Remarks:
All DataFields set by TFormer_SetXXXDataFile, TFormer_SetODBCData or by TFormer_SetVarValue are cached internally. This function writes the cache to the specified file. The generated file can be reused later with TFormer_SetDataFile.