Hi, I have a query page that has a radio button to search for BIKES, AUTOS OR ALL
The field it is going to query from has a list of codes [1,2,3,4,5 . .etc]
I want to return BIKES if codes found are between 1-39
and return AUTOS if codes found is 40 and above
and return ALL products too as the third option.
I guess I could also just look for just the first code it finds, and if it is between 1-39, return BIKES and 40 and above return AUTOS.
How can I write this conditional statement?
thank you
The field it is going to query from has a list of codes [1,2,3,4,5 . .etc]
I want to return BIKES if codes found are between 1-39
and return AUTOS if codes found is 40 and above
and return ALL products too as the third option.
I guess I could also just look for just the first code it finds, and if it is between 1-39, return BIKES and 40 and above return AUTOS.
How can I write this conditional statement?
thank you