I have a query that I want to execute against a table. With the results I want to do something. In my head the pseudo code is:
var q = "select * from table where some condition";
var results = db.getResults(q);
foreach (row r in results )
do something with result
How would I so something similar with vba?
DAO is native to Access and by far the best for general use. ADO has its place, but it is unlikely that this is it.