You can use the example I posted. In your database, create a table with 4 fields. In the SQL statment just say:
sSQL = "SELECT * FROM YourTable"
When you reference your recordset in the example you posted:
"rstAccess.Fields(0)" would be the first field
"rstAccess.Fields(1)" would be the second field and so on
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.