Hi,
Is there a keyword similar to IN or INLIST in VB?
For example, in SQL you have:
SELECT * FROM table WHERE col IN(5,7,13,18);
So, intead of having:
If x=2 or x=8 or x=12 etc. .....
you could have:
if x IN(2,8,12)
is there such a thing in VB?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: IN or INLIST in VB???Threaded View
|
Click Here to Expand Forum to Full Width |