ERRCODE TFormer_SetFormName ( HTFORM  pInstance,
LPCSTR  pszFormName 
)

Specifies the name of the Repository-based FormLayout.

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] pszFormName The name of the FormLayout as defined using TFORMer Designer.
Remarks:
Use this function to specify the name of the FormLayout which is referenced from within a Project of a Repository.
Do not use this property for a stand-alone FormLayout.

See TFormer_SetRepositoryName for a detailed explanation of a Repository and a stand-alone FormLayout.
Note:
Must be called before TFormer_Print. This call is mandatory if used with a Repository. Cached data (set with TFormer_NewRecord and TFormer_SetVarValue or by importing data-files) as well as the already loaded FormLayout are discarded.
See also:
TFormer_SetRepositoryName, TFormer_SetProjectName.


© 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