TCDTrkGetFieldOptions
Return to Introduction  Previous page  Next page
Returns the choices available to users, if any, when entering data in a field.

Delphi (TrkIntf.pas)

function TrkGetFieldOptions( FieldName: String; const OptionList: TStrings; var Default: String ): Integer;  

Parameters

Name
Description
FieldName
The name of the field
OptionList
Returns the selection list for this particular field, or an empty list if the field has no choices
Default
Returns the default value for this field


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

Certain fields may have a selection list (eg RequestedBy), but the user does not have to select an item from the list if another value applies.

Exported

function TCDTrkGetFieldOptions( pFieldName: PChar; const pOptionList, pDefault: PChar; var Size: Integer ): Integer; stdcall;  


 


© 1995-2018 MCN Software