Raptors Fan
September 13th, 2001, 02:44 PM
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?
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?