ERRCODE TFormer_SaveXml ( HTFORM  pInstance,
LPCSTR  pszFileName 
)

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.
Note:
Can be called after TFormer_SetXmlDataFile, TFormer_SetTxtDataFile, TFormer_SetODBCData or after TFormer_NewRecord.
See also:
TFormer_SetTxtDataFile, TFormer_SetXmlDataFile, TFormer_SetODBCData.


© 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