G
Guest
I am getting a Type Mismatch error (Runtime 13) when I try to execute the following code:
Dim db As Database
Dim recEmployee As Recordset
Dim strTableEE As String
Dim strDate As Date
strTableEE = "dbo_tblPREE"
Set db = CurrentDb
Set recEmployee = db.OpenRecordset(strTableEE, dbOpenSnapshot) <<<< THIS IS WHERE THE ERROR IS HAPPENING
I get the same error when I try "? dbengine.Workspaces (0).Databases (0)" in the Immediate Window
Dim db As Database
Dim recEmployee As Recordset
Dim strTableEE As String
Dim strDate As Date
strTableEE = "dbo_tblPREE"
Set db = CurrentDb
Set recEmployee = db.OpenRecordset(strTableEE, dbOpenSnapshot) <<<< THIS IS WHERE THE ERROR IS HAPPENING
I get the same error when I try "? dbengine.Workspaces (0).Databases (0)" in the Immediate Window