J
JackO
I am getting the following error:
Run-time error ‘13’:
Type mismatch
My code that I am running is:
Private Sub btnSubmit_Click()
Dim dbMyDB As Database, qdMyQuery As QueryDef, rs As Recordset
Set dbMyDB = CurrentDb
Set qdMyQuery = dbMyDB.QueryDefs("qry2EAST")
Set rs = qdMyQuery.OpenRecordset()
End Sub
There are no parameters in the stored query as it is a simple select query.
Any help or insight into why I am getting this error would be appreciated.
Run-time error ‘13’:
Type mismatch
My code that I am running is:
Private Sub btnSubmit_Click()
Dim dbMyDB As Database, qdMyQuery As QueryDef, rs As Recordset
Set dbMyDB = CurrentDb
Set qdMyQuery = dbMyDB.QueryDefs("qry2EAST")
Set rs = qdMyQuery.OpenRecordset()
End Sub
There are no parameters in the stored query as it is a simple select query.
Any help or insight into why I am getting this error would be appreciated.