Find Next and Find Previous

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
inageib
Posts: 184
Joined: Wed 26 Aug 2009 14:11

Find Next and Find Previous

Post by inageib » Wed 26 Aug 2009 14:54

Hello,
I need to implement a find next search feature for a grid, what is the best way to do that ?

I use FireBird 2.1.2

Thanks

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

Post by Plash » Thu 27 Aug 2009 07:20

You can use the LocateEx method. Pass lxNext to the LocateOptions parameter to find the next record, or lxUp to find the previous record.

inageib
Posts: 184
Joined: Wed 26 Aug 2009 14:11

Post by inageib » Thu 27 Aug 2009 10:14

many thanks

Post Reply