meltingpot
Technical User
Im trying to write a query using 4 checkboxes (true or false).
(vechicles used as examples only - point being 4 different checkboxes)
I have (say)4 vechicle types , bike, car, van, lorry and would like the user to search for these items using some or all of the check boxes. so when they check the box (true)they include it in the result set, not checked then not included .
The very simple query …
Result.asp
SELECT bike, car, van, lorry
FROM vehicle
WHERE
bike = (Request.QueryString("bike")) if checked then = True
ect - this is were im not sure..
Query_vehicle.asp sends these over to the above page via the search area with the 4 checkboxes in ....
Request.QueryString("bike") check box name
Request.QueryString("car")
Request.QueryString("van")
Request.QueryString("lorry")
Using MS Access 2003 and ASP vbscript
Any ideas ? ?
(vechicles used as examples only - point being 4 different checkboxes)
I have (say)4 vechicle types , bike, car, van, lorry and would like the user to search for these items using some or all of the check boxes. so when they check the box (true)they include it in the result set, not checked then not included .
The very simple query …
Result.asp
SELECT bike, car, van, lorry
FROM vehicle
WHERE
bike = (Request.QueryString("bike")) if checked then = True
ect - this is were im not sure..
Query_vehicle.asp sends these over to the above page via the search area with the 4 checkboxes in ....
Request.QueryString("bike") check box name
Request.QueryString("car")
Request.QueryString("van")
Request.QueryString("lorry")
Using MS Access 2003 and ASP vbscript
Any ideas ? ?