What I want to do is take a string,
entered by the user, and then make
a valid database query from that.
They will be searching a text field for
certain words. What I am having a
problem with is taking the input and
creating the query.
If they type in:
CDE -sun -solaris
I want to have this query string:
where contains (problemdesc, ' "CDE" AND NOT "sun" AND NOT "solaris" ')
How do I get the resulting query string?
entered by the user, and then make
a valid database query from that.
They will be searching a text field for
certain words. What I am having a
problem with is taking the input and
creating the query.
If they type in:
CDE -sun -solaris
I want to have this query string:
where contains (problemdesc, ' "CDE" AND NOT "sun" AND NOT "solaris" ')
How do I get the resulting query string?