Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form-sql element

Status
Not open for further replies.

LaurenM

Programmer
Jun 5, 2006
62
CA
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.
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>
to something like this:
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
 
Lauren,

This is not really an XML question, but rather a question about the application consuming the XML. XML is merely a transport or encoding mechanism -- a means to an end.

What is the actual application consuming the XML?

Tom Morrison
 
The app is called C-Factor, and that is all I know about it. There is a text box in the app for my sql code, one for html/javascript code, and one for xslt code and I have the option of generating xml data, or a pdf document and that is all the control that I have.
 
Sorry, Lauren, I have never heard of that product, and Google can't seem to find it either. In any event, I don't think the answer to your question is going to be found in this or any other XML forum.

Tom Morrison
 
Thanks.

Lauren McDonald, B.Sc.
Programmer Analyst
Saskatchewan Healthcare Employees' Pension Plan

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top