|
FlexCel Studio for VCL/LCL
|
Specifies a column to sort the table.
property IndexFieldNames: string;
__property AnsiString IndexFieldNames;
While the name of this property is in plural, to keep the syntax the same as in other VCL datasets, TFlxMemTable only accepts one column as an index. The syntax "field1;field2" is not supported.
To sort the dataset by the column "CustomerName", you can set:
MemTable.IndexFieldNames := 'CustomerName';
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|