ADO sets both the EOF and BOF properties to true if the recordset is empty. You can check these properties to determine if the recordset is empty or not instead of checking the RowCount or RecordCount properties to determine if the recordset is populated.