I define the following index in my database:
CREATE UNIQUE INDEX "IndTreeView" ON "TreeElements" ("KeyPad" ASC,"KeyEle" ASC)
Which properties should I use in 'tunitable' component if I want to use that index with 'findkey', 'locate', etc ?
Code: Select all
tunitable.IndexFieldNames := KeyPad, KeyEle // only this property ?
tunitable.KeyFields := KeyPad, KeyEle // this too ?
Thanks in advances