Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I select records based on a list
Message
From
01/07/2004 18:37:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00919766
Message ID:
00919909
Views:
16
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform