Hi Guys,
Trying to requery my form and come back on the last created record, however I get a data type mismatch in criteria, run-time error 3464
Pretty new to this so I hope someone might help..
The code;
Trying to requery my form and come back on the last created record, however I get a data type mismatch in criteria, run-time error 3464
Pretty new to this so I hope someone might help..
The code;
Private Sub List203_Click()
DoCmd.RunCommand acCmdSaveRecord
Dim returnID
returnID = Me!ID
Me.Requery
Me.Recordset.FindFirst "ID = '" & returnID & "'"
End Sub