GerryGoldberg
Technical User
- Apr 12, 2001
- 55
I would like to select some records like:
set rst1 = dbs.openRecordset("SELECT * FROM tableA WHERE state = 'OH')
Then, based on the resulting recordset, I would like to do an additional query, like:
set rst2 = "COUNT (*) FROM (the recordset rst1) WHERE City='CLEVELAND'"
How can I reference rst1 in my second query?
Thanks,
Gerry Goldberg
set rst1 = dbs.openRecordset("SELECT * FROM tableA WHERE state = 'OH')
Then, based on the resulting recordset, I would like to do an additional query, like:
set rst2 = "COUNT (*) FROM (the recordset rst1) WHERE City='CLEVELAND'"
How can I reference rst1 in my second query?
Thanks,
Gerry Goldberg