Solved Runtime Error 13 Type Mismatch

LanaR

Member
Local time
Today, 16:01
Joined
May 20, 2021
Messages
113
I must be missing something very basis as the following is throwing a Runtime Error 13 Type Mismatch

Code:
Dim rst As Recordset

Set rst = Me.RecordsetClone

On the Set command

The code is in the On Click event of a button
 
dim rst as dao.recordset

it is probably dimensioning it as and ADODB.recordset and the form returns a dao recordset thus a type mismatch.
 
Thanks that did the trick (y)
 

Users who are viewing this thread

Back
Top Bottom