am having a problem with designing a form that will enable a client to view a record based on text from a long descriptive Memo field, and then to edit that record.
I believe that I have have mastered the input query, which I call from a form using a combo box
SELECT [Contacts].[Description]
FROM Contacts
WHERE ((([Contacts].[Description]) Like "*" & [enter any word] & "*"
);
However, I can not figure out how to direct the form to proceed to that record. The standard code that I have been using with other combo boxes that draw upon queries using dropdown lists is:
Private Sub Combo25_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ContactID] = " & Str(Me![Combo25])
Me.Bookmark = rs.Bookmark
End Sub
What I would like is to scroll through the list of descriptions in the memo field that the search has found, and have the info from the selected record appear in the form. I can not imagine that this is a unique problem, and hope that someone could suggest how they have resolved it.
Thx for any assistance
I believe that I have have mastered the input query, which I call from a form using a combo box
SELECT [Contacts].[Description]
FROM Contacts
WHERE ((([Contacts].[Description]) Like "*" & [enter any word] & "*"
However, I can not figure out how to direct the form to proceed to that record. The standard code that I have been using with other combo boxes that draw upon queries using dropdown lists is:
Private Sub Combo25_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ContactID] = " & Str(Me![Combo25])
Me.Bookmark = rs.Bookmark
End Sub
What I would like is to scroll through the list of descriptions in the memo field that the search has found, and have the info from the selected record appear in the form. I can not imagine that this is a unique problem, and hope that someone could suggest how they have resolved it.
Thx for any assistance