Using ADO if possible, I'm insteresting in opening a query as a recordset, loop through the recordset and addNew records to an existing table.
This is what I have so far, but I believe it's using DAO
Dim db As Database
Dim qdf As New QueryDef
Dim rs As Recordset
Dim strQueryName As String
Set db = CurrentDb()
strQueryName = "qry_name"
Set qdf = db.QueryDefs(strQueryName)
Set rs = qdf.OpenRecordset(dbReadOnly)
Do
'here is where I want write to some_table_name
Loop Until rs.eof
This is what I have so far, but I believe it's using DAO
Dim db As Database
Dim qdf As New QueryDef
Dim rs As Recordset
Dim strQueryName As String
Set db = CurrentDb()
strQueryName = "qry_name"
Set qdf = db.QueryDefs(strQueryName)
Set rs = qdf.OpenRecordset(dbReadOnly)
Do
'here is where I want write to some_table_name
Loop Until rs.eof