ERRCODE TFormer_SetProjectName ( HTFORM  pInstance,
LPCSTR  pszProjectName 
)

Specifies the Project-name for printing a 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] pszProjectName The Project name as defined using TFORMer Designer.
Remarks:
When using a Repository-based FormLayout use this function to provide the Project-name. In addition the name of the FormLayout must be set using TFormer_SetFormName.
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.
Call this function before TFormer_SetFormName. Cached data (set with TFormer_NewRecord and TFormer_SetVarValue or by importing data-files) as well as the actual FormLayout are discarded.

See also:
TFormer_SetRepositoryName, TFormer_SetFormName.


© 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