For some reason this does not seem to be working...
Am I missing something basic?
Dim rst As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb
Set rst = db.OpenRecordse t("qryEmailS" ) ' <= can I use query here?
' qryEmailS contains only one column - "strS"
' I want to loop through each item in the rst
' must I use rst here? how about Array?
Do Until rst.EOF
Debug.Print rst!strS
rst.MoveNext
Loop
Am I missing something basic?
Dim rst As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb
Set rst = db.OpenRecordse t("qryEmailS" ) ' <= can I use query here?
' qryEmailS contains only one column - "strS"
' I want to loop through each item in the rst
' must I use rst here? how about Array?
Do Until rst.EOF
Debug.Print rst!strS
rst.MoveNext
Loop
Comment