Search Functions

JustMaybe

Registered User.
Local time
Today, 09:20
Joined
Oct 18, 2002
Messages
134
I'm trying to create a search function on a form using a combo box. The following code is what i used when looking up a primary key. Which worked fine.

Private Sub Combo72_AfterUpdate()
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[SupplierID] = " & Str(Nz(Me![Combo72], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End Sub

However i now want users to have the ability to search for a non-unique field, and the search function to retreive all the records with this value in the field.

Can anyone help????
 
Thanks for your help
sorry new to VB...

where would that go?
 

Users who are viewing this thread

Back
Top Bottom