johngordon
Technical User
Greetings,
I use the following code to update a form based on a Name selected from a combo box:
Private Sub Text73_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[LastName] = '" & Me![Text73] & "'"
Me.Bookmark = rs.Bookmark
End Sub
What I really want is for the code to select the individual by first and last name after update. The names are pulled from a query.
How do I include the [FirstName] into the code above?
Thanks,
John
I use the following code to update a form based on a Name selected from a combo box:
Private Sub Text73_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[LastName] = '" & Me![Text73] & "'"
Me.Bookmark = rs.Bookmark
End Sub
What I really want is for the code to select the individual by first and last name after update. The names are pulled from a query.
How do I include the [FirstName] into the code above?
Thanks,
John