Hi, I am a beginner at VBA for Access and have only used code on my Tables, I have a database with a Table and a Query.
I want to write some VBA to use data in the Query, my questions are:
1/. Do I need to run the Query before I try to use the results, if so is it a DOCMD command?
2/. Do I use the Query like a Table and refer to it as a Recordset, and used commands like MoveFirst, MoveLast and MoveNext?
I want to write some VBA to use data in the Query, my questions are:
1/. Do I need to run the Query before I try to use the results, if so is it a DOCMD command?
2/. Do I use the Query like a Table and refer to it as a Recordset, and used commands like MoveFirst, MoveLast and MoveNext?