I've tried to find this in the help files or somewhere here in the forum, but I didn't succeed. Though it seems to be a pretty standard question to me.
I have to upgrade several databases from Access 97 to XP. The main problem seems to be the old DAO-code. In the databases I have, I got code like this:
Dim db As Database
(Dim rst As Recordset)
Dim strSQL As String
Set db = CurrentDb
strSQL = "..."
(Set rst = db.OpenRecordset(strSQL))
(db.Update strSQL)
Does anyone of you have a simple code (in ADO I guess) that replaces the noted code?
I have to upgrade several databases from Access 97 to XP. The main problem seems to be the old DAO-code. In the databases I have, I got code like this:
Dim db As Database
(Dim rst As Recordset)
Dim strSQL As String
Set db = CurrentDb
strSQL = "..."
(Set rst = db.OpenRecordset(strSQL))
(db.Update strSQL)
Does anyone of you have a simple code (in ADO I guess) that replaces the noted code?