TMedTable.IndexFieldNames TMedTable

property IndexFieldNames: string ;

Description

Setting IndexFieldNames property is an alternative to IndexName method of selecting active index. Set it to semicolon-separated list of field names. The index indexing the same list of fields should be available in index files specified by IndexFiles property or in default CDX file. The default CDX file is the one with the same name as table and .CDX extention - it is opened automatically when table is activated.

Ordering of fields on the list is significant. If proper index if found, it determines the sort order of the dataset records visible to the user. To deactivate the index set IndexFieldNames to '' (empty string).

Setting IndexFieldNames resets IndexName property to '' (empty string).