Hi,
I have a search form that has a text field (txtsearchcriteria), and two drop down boxes (cbosearchwhat) and (cbostatus).
cbosearchwhat has the following options date, name, company.
cbostatus has all, closed and open
What I would like to do is have one SQL statement that processes the details on the form and outputs the details.
I'm not sure if this can be done, but if it can it would be a great use. another problem is 'all' needs to return a null value to the query so all records are selected.
I have a search form that has a text field (txtsearchcriteria), and two drop down boxes (cbosearchwhat) and (cbostatus).
cbosearchwhat has the following options date, name, company.
cbostatus has all, closed and open
What I would like to do is have one SQL statement that processes the details on the form and outputs the details.
I'm not sure if this can be done, but if it can it would be a great use. another problem is 'all' needs to return a null value to the query so all records are selected.