L
Leonard
Can anyone tell me why I keep getting a "Run-time error
13... Type Mismatch" on the following code?
Any help appreciated.
'===========================================
Dim dbs As Database, rst As Recordset
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("MyQuery")
If rst.RecordCount >= 1 Then
MsgBox "At least one record has been entered"
End If
'===========================================
13... Type Mismatch" on the following code?
Any help appreciated.
'===========================================
Dim dbs As Database, rst As Recordset
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("MyQuery")
If rst.RecordCount >= 1 Then
MsgBox "At least one record has been entered"
End If
'===========================================