Hi all,
I've a Microsoft Access query problem that need help. I'm accessing the database via Visual Basic 6 Jet engine
let's say the string value in the field as following:-
1111
1010
1234
I wanted to write a query to return any records that have the value of "1" that occur 2 times in the string value.
The result should be:-
1111
1010
Another scenario:-
let's say the string value in the field as following:-
1234
4321
1123
1210
I wanted to write a query to return any records that have the value of "1", "2", and "3" that all 3 values should occur in the string value.
The result should be:-
1234
4321
1123
I've tried "instr" or "like" but it doesn't work. Please help.
Thanks in advanced.