Forums
This topic is locked
Setting up an Advanced Recordset.....
Posted 24 Apr 2007 13:48:30
1
has voted
24 Apr 2007 13:48:30 satheesh Dominic posted:
I am trying to build a search page with multiple search parameters.... I have my recordset created using Dreamweaver 8. It works fine. The structure is the search form posts all the input field values into the result page. But the problem is, "ALL THE FORM(input)FIELDS MUST BE FILLED" to get the result. If I leave one parameter empty, the recordset returns with empty results as I have used "AND" with all the parameters.I want to make each individual input fields optional with a check box... Can anybody suggest some solutions for that.....
Thanks in Advance.......
Edited by - satheeshkd on 24 Apr 2007 14:15:19
Edited by - satheeshkd on 24 Apr 2007 14:15:50
Replies
Replied 30 Apr 2007 06:17:28
30 Apr 2007 06:17:28 Alan C replied:
you might have to use php to examine the checkboxes and then build a query - I had something similar and wrote a function that added additional AND clauses onto the end of the query
Replied 30 Apr 2007 06:58:12
30 Apr 2007 06:58:12 satheesh Dominic replied:
thanks for the advice.
Unfortunately, I have to use only asp. I'm using Access database & a DSN is setup on the server. Will it be possible to find some solutions using asp?
Unfortunately, I have to use only asp. I'm using Access database & a DSN is setup on the server. Will it be possible to find some solutions using asp?