I have a page which obtains a recordset based on the users choice from
2 list boxes on the previous page and then displays the record set.
The user selects a jobtype and location - the SQL to retrieve the
recordset is:
SELECT SpecNo, Salary, JobType, Location, JobTitle, JobID
FROM Tbl_Jobs
WHERE JobType = 'MMColParam' AND location = 'MMColParam1'
ORDER BY SpecNo DESC
The two parameters are simple Request("xxxx"
statements.
However, I have another page which only gives the user the option to
search by jobtype. When they submit - there is no location passed to
the search page. How can I search for all locations?
Many thanks
2 list boxes on the previous page and then displays the record set.
The user selects a jobtype and location - the SQL to retrieve the
recordset is:
SELECT SpecNo, Salary, JobType, Location, JobTitle, JobID
FROM Tbl_Jobs
WHERE JobType = 'MMColParam' AND location = 'MMColParam1'
ORDER BY SpecNo DESC
The two parameters are simple Request("xxxx"

However, I have another page which only gives the user the option to
search by jobtype. When they submit - there is no location passed to
the search page. How can I search for all locations?
Many thanks