views:

78

answers:

2

I have a Table indexed on field1 and on field2.

How do I specify, in the TTable component, that both indexes are active.

I tried:

IndexFieldNames := 'FIELD1, FIELD2';

It didn't work.

A: 

IndexFieldNames := 'FIELD1;FIELD2';

da-soft
It says "No index for field names: FIELD1;FIELD2"
ChuckO
+1  A: 

I am using a dBASE table.

dBASE tables must have a multi-field index created explicitly.

I created a new index on 'FIELD1+FIELD2' called MyIndex.

Then I set:

IndexName := 'MyIndex';
ChuckO