kgjeremytw
03-12-2003, 05:18 PM
Hello, I'm needing a bit of help to set up an SQL query that is generated from a check box form.
Background on the DB:
tblTechnologyLookup
OfferingID, TechnologyID, RoleID
tblOfferings
offeringID, offeringTitle
What I have is a form with checkboxes where each checkbox is named by the technologyID or roleID (<INPUT TYPE="checkbox" NAME="[technologyID]" value="1">). I've called this page prescriptionbuilder.asp.
When users click on the various roles and technologies that they want to search and hit the submit button, I need the page that the form posts to, (perscrption.asp), to return the search results. At a minimum the user could click on one role and one technology. The total number of possible roles is 5 and the current number of technologies is 233.
I know that the 233 categories is a bit high, but I can't limit the users. I also need to be able to filter duplicates from the results, as offerings in the tblTechnologyLookup table may have more than one entry.
I'm new to asp and vbscript, I need to know how to set up perscription.asp to query the DB.
Any assistance would be greatly apprecitated. Thanks for all of your help. Jeremy
Background on the DB:
tblTechnologyLookup
OfferingID, TechnologyID, RoleID
tblOfferings
offeringID, offeringTitle
What I have is a form with checkboxes where each checkbox is named by the technologyID or roleID (<INPUT TYPE="checkbox" NAME="[technologyID]" value="1">). I've called this page prescriptionbuilder.asp.
When users click on the various roles and technologies that they want to search and hit the submit button, I need the page that the form posts to, (perscrption.asp), to return the search results. At a minimum the user could click on one role and one technology. The total number of possible roles is 5 and the current number of technologies is 233.
I know that the 233 categories is a bit high, but I can't limit the users. I also need to be able to filter duplicates from the results, as offerings in the tblTechnologyLookup table may have more than one entry.
I'm new to asp and vbscript, I need to know how to set up perscription.asp to query the DB.
Any assistance would be greatly apprecitated. Thanks for all of your help. Jeremy