Open a Recordset: it can be done in either ADO or DAO. I'm more
familiar with the latter:
Dim rs As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb
Set rs = db.OpenRecordset("SELECT ...")
rs.MoveFirst
You now have a Recordset with all the fields; their values can be
ascertained using expressions like
strX = rs!TextField
lngJ = rs!NumberField
and so on.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.