
A Quick & Easy Search routine for ListViews AND Recordsets -- hand in hand.
I find that a very nice pair-up in interface and behind the scenes action is the DAO set in conjunction with ListViews. To some this may already be apparent, to others perhaps not.
Copy this code in, using the correct DAO refs and the correct ListView, pass the three parameters in, and it should work like a charm.
Don't forget to vote for this code.
Updated / Patched - 11/4/01
Check out this screenshot ->
Inputs
strFieldToSearch as string;