Page 1 of 1

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

Posted: Wed 01 Mar 2006 20:29
by Piotr
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??

Posted: Thu 02 Mar 2006 15:57
by Challenger
There is no valid method of getting values of previous record. You can save values of current record before navigating to the next one.