Export (0) Print
Expand All
MFC
Expand Minimize

CRecordset::GetRowsetSize 

Obtains the current setting for the number of rows you wish to retrieve during a given fetch.


DWORD GetRowsetSize( ) const;

The number of rows to retrieve during a given fetch.

If you are using bulk row fetching, the default rowset size when the recordset is opened is 25; otherwise, it is 1.

To implement bulk row fetching, you must specify the CRecordset::useMultiRowFetch option in the dwOptions parameter of the Open member function. To change the setting for the rowset size, call SetRowsetSize.

For more information about bulk row fetching, see the article Recordset: Fetching Records in Bulk (ODBC).

Community Additions

ADD
Show:
© 2014 Microsoft