HOWTO: Detect an Empty CRecordset ObjectLast reviewed: July 31, 1997Article ID: Q121950 |
The information in this article applies to:
SUMMARYThe CRecordset represents a set of records obtained from a data source through a query. If no records from the data source match the query, there will be no records in the record set object so CRecordset::IsEOF and CRecordset::IsBOF both return a nonzero value. A query is executed during calls to CRecordset::Open and CRecordset::Requery, so empty record sets can be detected calling CRecordset::IsEOF and/or CRecordset::IsBOF after executing a query.
REFERENCESThis behavior is described in the documentation for CRecordset::IsEOF and CRecordset::IsBOF.
|
Additional query words: empty recordset
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |