Subject | Jumping to a record number in a dataset (Query or table) |
---|---|
Author | Robert Martin |
Post date | 2012-01-10T22:53:58Z |
Hi
I have printing code where if the user selects page 10 (for example) I
want to jump to record 1000 and then print the next 100 records.
Printing is run from a TDataSet although if need be this could be changed.
I see a dataset has a MoveBy() command, would this be the best way of
achieving this or does this have performance implications? I cant re
run the query as it is in use by other components.
Thanks
Rob
I have printing code where if the user selects page 10 (for example) I
want to jump to record 1000 and then print the next 100 records.
Printing is run from a TDataSet although if need be this could be changed.
I see a dataset has a MoveBy() command, would this be the best way of
achieving this or does this have performance implications? I cant re
run the query as it is in use by other components.
Thanks
Rob