Guest_imported
New member
- Jan 1, 1970
- 0
Here is a simple project with a reference to the Microsoft ActiveX Data Objects Recordsets 2.5 library.
Why the type mismatch when function a is called.
Private Sub Command1_Click()
Dim rs As Recordset
Set rs = New Recordset
a (rs) 'here is where the type mismatch occurs
End Sub
Function a(rs As Recordset)
MsgBox "a"
End Function
Why the type mismatch when function a is called.
Private Sub Command1_Click()
Dim rs As Recordset
Set rs = New Recordset
a (rs) 'here is where the type mismatch occurs
End Sub
Function a(rs As Recordset)
MsgBox "a"
End Function