The information in this article applies to:
SUMMARYCDaoRecordset::GetRecordCount is not guaranteed to return the correct number of rows for a table-type recordset even if you call this function after calling MoveLast(). MORE INFORMATION
You can call CDaoRecordset::GetRecordCount to find out how many records in
a recordset have been accessed. GetRecordCount does not indicate how many
records are contained in a dynaset-type or snapshot-type recordset until
all records have been accessed. To force the last record to be accessed,
call the MoveLast function.
REFERENCESVisual C++ Help; search on: CDaoRecordset::GetRecordCount Additional query words:
Keywords : kbusage kbDAO kbDatabase kbMFC kbVC kbVC400 kbVC410 kbVC420 kbVC500 kbVC600 |
Last Reviewed: July 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |