Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert entries in messagebox to a comma-delimited list
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00298547
Message ID:
00301881
Views:
43
>>>INLIST(town,'NEWT') or town='NEWT'. Guess what? :))
>>
>>Is this some kind of trick question? :) I would obviously choose the one without INLIST, without testing anything.
>
>And you woul be absolutely right. I just love to experiment :)

However, you are not treating INLIST fairly :) It's meant for multiple values - so, to be fair, you need to compare something like:

INLIST(field,'A','B','C')

vs

field = 'A' OR field = 'B' OR field = 'C'
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform