The only type of Query that returns Record is the Select Query so I assume
you are talking about Select Query and the usual way to get the return is
the Recordset object. For the Recordset, you have the RecordCount property
that you can use.
For DAO Recordset, you must populate the Recordset fully (using MoveLast) to
get the correct RecordCount. For ADO Recordset, the RecordCount may not
give the actual Record count depending on which type of Recordset you
created.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.