TECIT_DLLSPEC ERRCODE TFormer_ResetData ( HTFORM  pInstance  ) 

Resets the data-cache.

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.
Remarks:
All DataFields handed over to TFORMer with TFormer_SetVarValue, TFormer_NewRecord or TFormer_SetDataFile are cached internally. As long as this cache is not deleted with this function the cached values will be used for a print-job. Call this method before starting a new print-job.
Note:
If you change the Repository, the Project or the FormLayout the internal cache is deleted automatically.
See also:
TFormer_NewRecord, TFormer_SetVarValue, TFormer_SetDataFile.

© 2006-2010 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Aug 17 13:20:39 2011 for TFORMer Runtime DLL/Shared Library with doxygen 1.6.3