Hello All,
I am trying to code in Microsoft Access 2000. I have a piece of code that works in Access 97. I don't know what happened but this code is not recognized by 2000.
Dim Rs as Recordset
Dim Db as Database
Set Db = CurrentDb()
Set Recordset = Db.OpenRecordset(SQL, dbOpenSnapshot)
Can someone convert this for me. It does not recognize Database as a datatype.
Thanks
Sera
I am trying to code in Microsoft Access 2000. I have a piece of code that works in Access 97. I don't know what happened but this code is not recognized by 2000.
Dim Rs as Recordset
Dim Db as Database
Set Db = CurrentDb()
Set Recordset = Db.OpenRecordset(SQL, dbOpenSnapshot)
Can someone convert this for me. It does not recognize Database as a datatype.
Thanks
Sera