-
1
- #1
BenSacheri
Programmer
Continuation of this thread: thread702-1756368
The images shows what happens when you type "del" into the combo box. It is configured to search any part of the word in two columns.
Only two lines of code need to be added to your form after the Class Module has been added to the project.
The images shows what happens when you type "del" into the combo box. It is configured to search any part of the word in two columns.
Only two lines of code need to be added to your form after the Class Module has been added to the project.
Code:
Private faytFindCompanyOrContact As New clsFindAsYouTypeCombo ' You must declare a class variable for each combo box.
Private Sub Form_Open(Cancel As Integer)
' Initialize the fayt combo box and link it to an existing combo box that already has a row source.
faytFindCompanyOrContact.InitalizeFilterCombo cboFindCompanyOrContact, "CompanyName;ContactName", False, True
End Sub