资讯

When using DAO, populate (fully) the Recordset before checking for an empty Recordset or a total count. When using ADO, use a static or keyset cursor to return the actual record count.