I am using ASP to to query an Access database. I have a dynamic number of checkboxes depending on the user. The user selects an undetermined number of checkboxes which are branch numbers. I need to query the database for all people from those branches. It works if one branch is selected but it does not for multiple branches. My current SQL query is:
SQLQuery = "SELECT * FROM Employee_Information WHERE LOCATION = '" & Request.Form("C1" & "'"
Location = the branch number; C1 = name of all checkboxes.
Thanks
SQLQuery = "SELECT * FROM Employee_Information WHERE LOCATION = '" & Request.Form("C1" & "'"
Location = the branch number; C1 = name of all checkboxes.
Thanks