ERRCODE TFormer_SetDSParameterValue ( HTFORM  pInstance,
LPCSTR  pszParameterName,
LPCSTR  pszValue 
)

Specifies the value of a DataSource-Parameter.

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] pszParameterName The name of the DataSource-Parameter to be set.
[in] pszValue The value to be set.
Remarks:
Use this function to specify a value for a DataSource-Parameter. A DataSource-Parameter may be defined by the user with TFORMer Designer and can be used to control certain aspects of a DataSource during runtime (e.g. filenames, SQL statement or an ODBC-DSN).
See TFormer_SetRepositoryName for a detailed explanation of a Repository and a stand-alone FormLayout.
Note:
Must be called before TFormer_Print, but after TFormer_SetDatasourceName or if a parameter of the active Datasource should be set, after TFormer_SetFormName.
See also:
TFormer_SetRepositoryName, TFormer_SetProjectName, TFormer_SetFormName, TFormer_SetDatasourceName, TFormer_GetDatasourceName.


© 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