MDAC 2.5 SDK - OLE DB Programmer's Reference
OLE DB Interfaces


 

IRowsetScroll : IRowsetLocate

IRowsetScroll enables consumers to fetch rows at approximate positions in the rowset.

When to Implement

IRowsetScroll is an optional interface on the rowset object. However, general consumers expect the rowset object to implement this interface, either natively or via OLE DB Services. It is implemented for rowsets intended to work smoothly with long lists browsed directly by the user interface.

IRowsetScroll implies IRowsetLocate.

When to Call

IRowsetScroll enables consumers to fetch rows located at approximate positions within a rowset. This method can be used for cases where precise positioning is not critical.

Method Description
GetApproximatePosition Gets the approximate position of a row corresponding to a specified bookmark.
GetRowsAtRatio Fetches rows starting from a fractional position in the rowset.