I get run time error 3464 when the following code is executed on click event of a combo box with a query as its source.
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[activityclassid] = '" & Me![Combo9] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
the activityclassid is an autonumber
the field on the form is not visible
I have used this code on other DB's and it works fine
Any help greatly appreciate
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[activityclassid] = '" & Me![Combo9] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
the activityclassid is an autonumber
the field on the form is not visible
I have used this code on other DB's and it works fine
Any help greatly appreciate