views:

217

answers:

1

I've created a 3rd recordset (disconnected) from two existing recordsets that came from different connections.

Now, I'd like to run a SQL query on this 3rd recordset.

I am using Excel VBA.

thanks, Harry

+1  A: 

You can use the ADO RecordSet Filter method with SQL where clauses: Filter and RecordCount Properties Example, e.g.

rs.Filter = "SupplierID = 10"
Mitch Wheat