Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do multiple find ?
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00384377
Message ID:
00384405
Vues:
32
>>Hi,
>>Does Recordset.Find support multiple find, like if I want to find data in 2 or 3 fields in the same command : ex
>>RecordSet.Find buildingname=2 and unittype=10 and unitno=30 ??
>>
>
>I forgat to say this is using ADO.

You can't find multi-criteria.

You have to alternative to that:

-Use the Where clause of your Select query to replace some of your criteria.
-Use the ADO Filter property (which can accept multiple criteria). Be advise that the Filter can be very slow on a large recordset.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform