Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I select records based on a list
Message
De
01/07/2004 18:37:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00919766
Message ID:
00919909
Vues:
15
>Thanks Hilmar, you always come through for me.

You are welcome.

I forgot to mention; personally, I used the string method - ";Option1;Option2;" a lot when users had to select a few options. But it does seem to me that the third method - table of options, and subquery - is potentially the fastest. I suspect that the string method is not appropriate to select from a table with very many records.

inlist(), on the other hand, is Rushmore Optimizable, just like its equivalent with OR, which you posted.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform