TFormer_ProjectVarItGetInitialValueSource
Definition
EFieldInitialValueSource TFormer_ProjectVarItGetInitialValueSource(HPROJECTVAR_ITERATOR hProjectVarIt, ERRCODE * peCode);
Contract
Returns the initial value source of the DataField the iterator is pointing to.
The initial value source specifies from where the initial value of a DataField is populated when a record is loaded (e.g. from the DataSource, from the configured default value, or from the last value entered by the user). This property is configured in TFORMer Designer to be evaluated by external programs. The TFORMer SDK provides read access to this property only.
Returns
The initial value source of the DataField. This value is only valid if peCode is ErrOk (0).
Parameters
| Parameter / type | Description |
|---|---|
hProjectVarItHPROJECTVAR_ITERATOR |
DataField iterator (see TFormer_GetFirstProjectVarIt) |
peCodeERRCODE * |
Error code, |