How to get previous record without changing cursor position in dataset??

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Piotr
Posts: 1
Joined: Wed 01 Mar 2006 20:13

How to get previous record without changing cursor position in dataset??

Post by Piotr » Wed 01 Mar 2006 20:29

I need to copy values from a previous record to active one. I don’t want to change cursor position in data set. I tried to use buffers and GetRecord( PBufor , gmPrior, false ) method but I didn’t solve the problem. I use TSmartQuery component.

Does anybody know how to do that??

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 02 Mar 2006 15:57

There is no valid method of getting values of previous record. You can save values of current record before navigating to the next one.

Post Reply