Can you query a recordset ?

kirkm

Registered User.
Local time
Today, 19:08
Joined
Oct 30, 2008
Messages
1,257
Hope that isn't a silly question... I already have a query that gets most of what's required but would like to further refine it. I realise I could use many queries first, each with the required criteria but if it's possible to run a query on an existing recordset result that would be better. I think.
Thanks for any advice.
 
A recordset can be filtered.
 
But generally it's faster, safer, and clearer to open the recordset you need, rather than try to navigate, tweak or manipulate the recordset you opened for some other purpose.

What does make sense is to query a query, so if you have . . .
Code:
SELECT * FROM Table WHERE Field1 > 50
. . . saved as 'qBiggerThan50,' you can do . . .
Code:
SELECT * FROM qBiggerThan50 WHERE Field1 < 60
. . . with obvious results.
 

Users who are viewing this thread

Back
Top Bottom