TFormer_GetDatasourceName
Provide Data · String encodings
Definition
Windows: ANSI; Unix: UTF-8
LPCSTR TFormer_GetDatasourceName(HTFORM pInstance, ERRCODE * peCode);
Windows only: UTF-16
LPCWSTR TFormer_GetDatasourceNameW(HTFORM pInstance, ERRCODE * peCode);
Contract
Provides the name of the active DataSource of the current FormLayout.
Use this function to get the name of the active DataSource of the current FormLayout. If the manual DataSource is the active one, this functions returns an empty string.
Returns
- The name of the active DataSource of the current FormLayout. This name is only valid if peCode is ErrOk (0).
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
peCodeERRCODE * |
|
Note
Must be called after TFormer_SetFormName.