Search bar in form

panyd

New member
Local time
Today, 03:02
Joined
Oct 19, 2010
Messages
9
Hey, I'm trying to add a search bar to a form which is linked to multiple tables. I've got it so that it will go to some records but not all of them when you select them. Anyone have any ideas?

Code:
Code:
Private Sub Combo89_AfterUpdate()
    'Moves to Customer Name text box and
    'finds the record of whatever name is selected in the combo box
    DoCmd.ShowAllRecords
    Me![Merchant Name].SetFocus
    DoCmd.FindRecord Me!Combo89
    'Set value of combo box equal to an empty string
    Me!Combo89.Value = ""
End Sub
 

Users who are viewing this thread

Back
Top Bottom