K
KLR
I have a main form with 2 subforms set up. They are linked by an
institution name. The user is prompted to choose an institution from a
drop down menu in the header. I have placed the following code behind
the After Update property of the combo box.
Private Sub Institution_AfterUpdate()
'Move to the record selected in the control
Me.RecordsetClone.Findfirst "[Institution] = " & Me![Institution]
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
I get an error message displayed when trying to choose an institution:-
Run time error 3077
Syntax error (missing operator) in expression
Pressing debug highlights the "Me.RecordsetClone" line.
Pressing End will display the information as required.
I don't know what I am doing wrong
institution name. The user is prompted to choose an institution from a
drop down menu in the header. I have placed the following code behind
the After Update property of the combo box.
Private Sub Institution_AfterUpdate()
'Move to the record selected in the control
Me.RecordsetClone.Findfirst "[Institution] = " & Me![Institution]
Me.Bookmark = Me.RecordsetClone.Bookmark
End Sub
I get an error message displayed when trying to choose an institution:-
Run time error 3077
Syntax error (missing operator) in expression
Pressing debug highlights the "Me.RecordsetClone" line.
Pressing End will display the information as required.
I don't know what I am doing wrong