S
Stuart
I was opening a query and reading it sequentially in my
old database, i.e., my .mdb. so, for example
Set dbs = CurrentDb
strSQL = a valid SQL select statement
Set tbl = dbs.OpenRecordset(strSQL, dbOpenForwardOnly)
In my new .adp database, the table setting does not
work. I get the error message "object variable not
set". I have tried to rewrite this in ADO, but I have
never tried it before and can't get it right. Can anyone
supply me with the correct code in either DAO or ADO?
Thanks, Stuart
old database, i.e., my .mdb. so, for example
Set dbs = CurrentDb
strSQL = a valid SQL select statement
Set tbl = dbs.OpenRecordset(strSQL, dbOpenForwardOnly)
In my new .adp database, the table setting does not
work. I get the error message "object variable not
set". I have tried to rewrite this in ADO, but I have
never tried it before and can't get it right. Can anyone
supply me with the correct code in either DAO or ADO?
Thanks, Stuart