VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A Very Handy Search Routine (new and improved & well commented)


Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (12 Votes)

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;

Rate A Very Handy Search Routine (new and improved & well commented)

Download A Very Handy Search Routine (new and improved & well commented)

Download A Very Handy Search Routine (new and improved & well commented) (122 KB)

A Very Handy Search Routine (new and improved & well commented) Comments

No comments have been posted about A Very Handy Search Routine (new and improved & well commented). Why not be the first to post a comment about A Very Handy Search Routine (new and improved & well commented).

Post your comment

Subject:
Message:
0/1000 characters