|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Moves the cursor to the next record.
[in] The number of rows to skip before fetching.
[in] Pass true to move forward to the next record, false to move backward.
Fetches the next sequential row from the CRowset object, remembering the previous position. Optionally, you can choose to skip ahead lSkip rows or move backward.
This method requires that you set the following properties before calling Open on the table or command containing the rowset:
DBPROP_CANSCROLLBACKWARDS must be VARIANT_TRUE if lSkip < 0
DBPROP_CANFETCHBACKWARDS must be VARIANT_TRUE if bForward = false
Otherwise (if lSkip >= 0 and bForward = true), you do not need to set any additional properties.