Querying within an ADODB.Recordset
Posted on 2002-07-23
I want to bring back a recordset of data from an mdb database (via ADO) using a SQL query to display the data in a grid. I then subsequently wish to perform sub-querying on that recordset to calculate various statistics, but want to avoid having to query the original table in its entirety over and over.
Is this possible? (NB The recordset would not be detached). Would it be as quick to cycle through using the Recordset object functions to look at the rows one at a time and calculate the stats using a loop function?