I like the sample, particularly in how snappy it responds.
Looking at the form's code an the query's criteria, it should be straightforward:
- In the form you copy one of both the hidden (you saw those, i hope) and visible textboxes (e.g. What Name and txtWhatName) and name them according to what else you wanna search for. (for the address for instance: What Add and txtWhatAdd )
- In the forms code you add a sub for the OnChange of the visible one of the new boxes. In the address example:
Private Sub txtWhatAdd_Change()
Me.[What Add] = Me.[txtWhatAdd].Text
- Then in the source query QBF_Query you follow the existing structure that you see in it's criteria. In these, for every possible combination of given criteria in the 'filter boxes' there is a line of criteria, demanding that EITHER the given text is in the table data (Add Like "*" & [Forms]![QBF_FORM]![What Add] & "*") OR there is no text given in the 'filter box' ([Forms]![QBF_FORM]![What Add])
Hope this helps some, good luck