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 / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

peCodeERRCODE *


Error Code, ErrOk (0) in case of success

Note

Must be called after TFormer_SetFormName.

Search documentation

Search in
More scopes
Additional scopes

All contents