Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
field1とfield2にインデックスが付けられたテーブルがあります。
TTableコンポーネントで、両方のインデックスがアクティブであることを指定するにはどうすればよいですか。
私は試した:
IndexFieldNames := 'FIELD1, FIELD2';
うまくいきませんでした。
dBASEテーブルを使用しています。
dBASEテーブルには、明示的に作成されたマルチフィールドインデックスが必要です。
'FIELD1+FIELD2'にMyIndexという新しいインデックスを作成しました。
次に、次のように設定します。
IndexName := 'MyIndex';
IndexFieldNames:='FIELD1; FIELD2';