IndexFieldNames/Findkey trouble

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
h.hasenack
Posts: 48
Joined: Tue 20 Jan 2009 12:35

IndexFieldNames/Findkey trouble

Post by h.hasenack » Fri 27 Mar 2009 13:04

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?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 30 Mar 2009 07:05

You can use the LocateEx method with the Options parameter set to [lxNearest].

h.hasenack
Posts: 48
Joined: Tue 20 Jan 2009 12:35

Post by h.hasenack » Thu 02 Apr 2009 06:18

Yes, that did the job. Thx

Post Reply