W
William A. Huntley
I have used this before, but for some reason I am getting errors when trying
to do it now. I have reference to DA0 3.60. I am getting a Error 13 (Type
mismatch) when the rst line is executed.
Public Sub Test()
Dim dbs As Database
Dim rst As Recordset
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("Table1", dbOpenDynaset)
rst.Close
set dbs = Null
End Sub
What am I doing wrong? Even help says this is how to do it.
-wah
to do it now. I have reference to DA0 3.60. I am getting a Error 13 (Type
mismatch) when the rst line is executed.
Public Sub Test()
Dim dbs As Database
Dim rst As Recordset
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("Table1", dbOpenDynaset)
rst.Close
set dbs = Null
End Sub
What am I doing wrong? Even help says this is how to do it.
-wah