TMedTable.GetExprFieldList TMedTable

function GetExprFieldList( iExpr: string ): string;

Description

Mostly for internal TMedTable component use.

This function scans an xHarbour (xBase) expression passed as iExpr and returns the semicolon-separated list of fields in order of appearance in iExpr. Fields that appear several times in iExpr, are appended to the resulting list only once.

Example:

writeln( tab.GetExprFieldList('STR(FN,10)+FC') );

Assuming tab contains FN and FC fields, this function will display 'FN;FC' string.