G
Guest
I have a number of list boxes and subforms displaying records from tables.
There seems to be an automatic filter which allows the user to type a key
with the focus in the listbox or subform, and the list will move to the
beginning of that letter. eg if "x" is typed the listbox / subform will go
to the beginning of the "x"s in the list. I don't know much on how filters
work but I assume there is a property that is set to allow this. My problem
is that the lists in some cases are very long. I would like to filter more
than one keystroke. eg type "XX" and that would go to the records beginning
with "xx", and maybe even more refining. "xxxxa" etc .... How do I do this?
Will I need to write code to concatenate key preview values and apply the
filter via code? (Sorry, I originally started as a VB programmer and can
figure out how to do this in VB but in Access they sometimes have nice little
automatic features which mean I dont have to write complex code)
There seems to be an automatic filter which allows the user to type a key
with the focus in the listbox or subform, and the list will move to the
beginning of that letter. eg if "x" is typed the listbox / subform will go
to the beginning of the "x"s in the list. I don't know much on how filters
work but I assume there is a property that is set to allow this. My problem
is that the lists in some cases are very long. I would like to filter more
than one keystroke. eg type "XX" and that would go to the records beginning
with "xx", and maybe even more refining. "xxxxa" etc .... How do I do this?
Will I need to write code to concatenate key preview values and apply the
filter via code? (Sorry, I originally started as a VB programmer and can
figure out how to do this in VB but in Access they sometimes have nice little
automatic features which mean I dont have to write complex code)