Hello
I need to be able to access a query in VBA so I can cycle through it
and write parts of it out to a text file.
I have managed this with a database so far, but have now got a bit
stuck.
My database bit goes like this
************************************************** **
Dim RST As Recordset
Dim QryRST As Recordset
Set DBS = CurrentDb()
Set RST = DBS.OpenRecordset("SchoolDB", dbOpenTable)
With RST
While not .EOF
'Do export routine in here.
.MoveNext
Wend
End With
************************************************** ****
I basically want the same sort of thing except from a table.
Thanks for any help
Mat