Solved FAYT listbox (1 Viewer)

ClaraBarton

Registered User.
Local time
Today, 06:09
Joined
Oct 14, 2019
Messages
463
I am trying to use MAJP's FAYT on a list box and I keep getting a type mismatch. The only thing I can figure out is that it's a listbox instead of a combobox. Is there a difference?
The error 13 is on this line:
Code:
faytChild.InitalizeFilterCombo Me.lstChild, "Child", AnywhereInString, True
lstChild is a listbox. "Child" is the search field.
 

ClaraBarton

Registered User.
Local time
Today, 06:09
Joined
Oct 14, 2019
Messages
463
That's the version I'm using. Specific list box implementation? I don't see it...
 

GaP42

Active member
Local time
Today, 23:09
Joined
Apr 27, 2020
Messages
338
In that version there are a number of modules - one of which is FindAsyouTypeListBox
Code:
Public Sub Initialize(theListBox As Access.ListBox, theTextBox As Access.TextBox, FilterType As FilterTypeListBox, ParamArray TheFieldsToSearch() As Variant)
 

ClaraBarton

Registered User.
Local time
Today, 06:09
Joined
Oct 14, 2019
Messages
463
Aargh! I thought I was using the whole thing. Thanks so much for bringing these other options to my attention!
 

Users who are viewing this thread

Top Bottom