Page 1 of 1

IndexFieldNames/Findkey trouble

Posted: Fri 27 Mar 2009 13:04
by h.hasenack
Are the any known issues when changing IndexFIeldNames on an open TORaTable?

It seems the findkey method rather uses the indexfieldnames provided when the table was opened rather than the ones changed runtime later on when the table was already open.

Regards - Hans

UPDATE

I found in the docs to rather use locate than findkey. No problem, I can work around that. But what about findnearest? Same issue?

Posted: Mon 30 Mar 2009 07:05
by Plash
You can use the LocateEx method with the Options parameter set to [lxNearest].

Posted: Thu 02 Apr 2009 06:18
by h.hasenack
Yes, that did the job. Thx