Im using DAO for access database. I'm querying the database and I would take to get the count of how many records are in that recordset from the query and if there are more than 1 record to query again with a different statement.
How do I get the count of a query when it is a RecordSet object rs.RecordCount doesnt work because it only checks how many records it went thru and i don't want to make a counter and loop through it because i think there is probably another way or function in the recordset object that would return the number of records in that recordset from the query.
Thanks.
How do I get the count of a query when it is a RecordSet object rs.RecordCount doesnt work because it only checks how many records it went thru and i don't want to make a counter and loop through it because i think there is probably another way or function in the recordset object that would return the number of records in that recordset from the query.
Thanks.