I use the form-sql element to guide my sql code based on user input. The two tags below are basically how I use the element.
Now, what I want to know is if I can use an OR in the value attribute instead of having to have another element in my sql code, so basically what i would like to do is go from this:
to something like this:
I've tried searching the net for my answer but I have gotten nowhere. If you can help me out by code or by pointing me to a websit that would be greatly appricated.
Lauren
Code:
<form-sql name="monthid" value="600">
<form-sql name="monthid" value="not(600)">
Now, what I want to know is if I can use an OR in the value attribute instead of having to have another element in my sql code, so basically what i would like to do is go from this:
Code:
<form-sql name="monthid" value="600">
</form-sql>
<<form-sql name="monthid" value="750">
</form-sql>
Code:
<form-sql name="monthid" value="600" or value="750">
</form-sql>
I've tried searching the net for my answer but I have gotten nowhere. If you can help me out by code or by pointing me to a websit that would be greatly appricated.
Lauren