helloo,
i have a select Query, everything is working very fine but i have a problem in the criteria.
under a field in the criteria part if i put:
Like 1,
Like 1 Or 2,
Like 1 Or 2 Or 3
...
everything works fine.
the condition "Like X Or Y" is related to listbox where the user can choose one or many item in the listbox.
so if the user chose two items in the lisbox the criteria should be: Like 1 or 2
if the user chose three items in the listbox the criteria should be: Like 1 or 2 or 3
my problem is that i am sending the condition to a String because i cannot send
"1 Or 2" in an Integer. and when i send the conidtion as a String it doesn't work and the criteria doesn't read the string.
the string contains: "Like 1" or "Like 1 Or 2", or "Like 1 or 2 or 3" and so on
any idea please !!!
i have a select Query, everything is working very fine but i have a problem in the criteria.
under a field in the criteria part if i put:
Like 1,
Like 1 Or 2,
Like 1 Or 2 Or 3
...
everything works fine.
the condition "Like X Or Y" is related to listbox where the user can choose one or many item in the listbox.
so if the user chose two items in the lisbox the criteria should be: Like 1 or 2
if the user chose three items in the listbox the criteria should be: Like 1 or 2 or 3
my problem is that i am sending the condition to a String because i cannot send
"1 Or 2" in an Integer. and when i send the conidtion as a String it doesn't work and the criteria doesn't read the string.
the string contains: "Like 1" or "Like 1 Or 2", or "Like 1 or 2 or 3" and so on
any idea please !!!