Access VB won't compile (recognize) the following simple SQL operator: in()
How do you perform this needed operation in access vb.
Ex:
Dim Loc as Integer
Dim sLocList as string
Loc = 20
sLocList = "20,21,22,23,24"
If Loc in(sLocList) then
''do this
else
'''do that
end if
It just won't recognize it..thanks for any info.
nstouffer
How do you perform this needed operation in access vb.
Ex:
Dim Loc as Integer
Dim sLocList as string
Loc = 20
sLocList = "20,21,22,23,24"
If Loc in(sLocList) then
''do this
else
'''do that
end if
It just won't recognize it..thanks for any info.
nstouffer