|
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. |
- 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.
|