Hello,
I have a form that consists of check boxes, and radio buttons. I am trying to make this into a search, but I don't know how to go about it. I am kind of new at asp. I know how to connect to an access db but I am not too sure about the asp and sql logic
could anybody give me a hand with this? I have pasted the form that I created
I have a form that consists of check boxes, and radio buttons. I am trying to make this into a search, but I don't know how to go about it. I am kind of new at asp. I know how to connect to an access db but I am not too sure about the asp and sql logic
could anybody give me a hand with this? I have pasted the form that I created
Code:
<table width="800" border="0" cellspacing="0" cellpadding="1">
</table>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" >
<span class="smallertext">
</span>
</td>
</tr>
</table>
<table width="800" border="0" cellpadding="1" cellspacing="0" class="outerBorder">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="innerTableBG">
<tr>
<td colspan="100%" class="tableTitle">
</td>
</tr>
<tr>
<td colspan="100%">
<center>
</center>
</td>
</tr>
<tr>
<td height="30" class="bodytextBold">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="innerTableBG">
<form name="PSearchForm" method="Get" action="/cat253/psearch.do">
<INPUT TYPE="hidden" name="searchType"
value="1"/>
<input type="hidden" name="categoryId" value="152">
<input type="hidden" name="orgId" value="davies">
<TR>
<td class="tableOddRow" rowspan="3"><strong>Insert</strong></td>
<TD nowrap align="right" height="30" class="tableOddRow">
<strong>
Type
</strong>
</TD>
<td class="tableOddRow"><img src="../../images/trans.gif" width="6" height="8"></td>
<td class="bodytext"><img src="../../images/trans.gif" width="6" height="8"></td>
<TD nowrap height="30" class="bodytext">
<input type="radio" name="P_406"
value='Brass Bushing'
/>
Brass Bushing
<input type="radio" name="P_406"
value='Threaded Insert'
/>
Threaded Insert
<input type="radio" name="P_406"
value='Molded Thread'
/>
Molded Thread
<input type="radio" name="P_406"
value='Projecting Stud'
/>
Projecting Stud
<input type="radio" name="P_406" value="any"
checked
/>- No Preference -
</TD>
<td><img src="../../images/trans.gif" width="5" height="1"></td>
</TR>
<tr><td class="lineBtwRow" colspan="100%"><img src="../../images/trans.gif" width="100%" height="1" border="0"></td></tr>
<TR>
<TD nowrap align="right" height="30" class="tableOddRow">
<strong>
Material
</strong>
</TD>
<td class="tableOddRow"><img src="../../images/trans.gif" width="6" height="8"></td>
<td class="bodytext"><img src="../../images/trans.gif" width="6" height="8"></td>
<TD nowrap height="30" class="bodytext">
<input type="checkbox" name="P_407"
value='Aluminum'
/>
Aluminum
<input type="checkbox" name="P_407"
value='Brass'
/>
Brass
<input type="checkbox" name="P_407"
value='Stainless Steel'
/>
Stainless Steel
<input type="checkbox" name="P_407"
value='Steel'
/>
Steel
<input type="checkbox" name="P_407"
value='Zinc Plated'
/>
Zinc Plated
</TD>
<td><img src="../../images/trans.gif" width="5" height="1"></td>
</TR>
<tr><td class="lineBtwRow" colspan="100%"><img src="../../images/trans.gif" width="100%" height="1" border="0"></td></tr>
<TR>
<td class="tableOddRow" rowspan="5"><strong>Dimensions</strong></td>
<TD nowrap align="right" height="30" class="tableOddRow">
<strong>
A
(inch)
</strong>
</TD>
<td class="tableOddRow"><img src="../../images/trans.gif" width="6" height="8"></td>
<td class="bodytext"><img src="../../images/trans.gif" width="6" height="8"></td>
<TD nowrap height="30" class="bodytext">
<input type="checkbox" name="P_410"
value='25/32'
/>
25/32
<input type="checkbox" name="P_410"
value='1'
/>
1
<input type="checkbox" name="P_410"
value='1-1/4'
/>
1-1/4
<input type="checkbox" name="P_410"
value='1-13/32'
/>
1-13/32
<input type="checkbox" name="P_410"
value='1-5/8'
/>
1-5/8
<input type="checkbox" name="P_410"
value='2'
/>
2
</TD>
<td><img src="../../images/trans.gif" width="5" height="1"></td>
</TR>
<tr><td class="lineBtwRow" colspan="100%"><img src="../../images/trans.gif" width="100%" height="1" border="0"></td></tr>
<TR>
<TD nowrap align="right" height="30" class="tableOddRow">
<strong>
B
(inch)
</strong>
</TD>
<td class="tableOddRow"><img src="../../images/trans.gif" width="6" height="8"></td>
<td class="bodytext"><img src="../../images/trans.gif" width="6" height="8"></td>
<TD nowrap height="30" class="bodytext">
<input type="checkbox" name="P_411"
value='47/64'
/>
47/64
<input type="checkbox" name="P_411"
value='29/32'
/>
29/32
<input type="checkbox" name="P_411"
value='1-3/16'
/>
1-3/16
<input type="checkbox" name="P_411"
value='1-3/8'
/>
1-3/8
<input type="checkbox" name="P_411"
value='1-1/2'
/>
1-1/2
<input type="checkbox" name="P_411"
value='1-27/32'
/>
1-27/32
</TD>
<td><img src="../../images/trans.gif" width="5" height="1"></td>
</TR>
<tr><td class="lineBtwRow" colspan="100%"><img src="../../images/trans.gif" width="100%" height="1" border="0"></td></tr>
<TR>
<TD nowrap align="right" height="30" class="tableOddRow">
<strong>
C
(inch)
</strong>
</TD>
<td class="tableOddRow"><img src="../../images/trans.gif" width="6" height="8"></td>
<td class="bodytext"><img src="../../images/trans.gif" width="6" height="8"></td>
<TD nowrap height="30" class="bodytext">
<input type="checkbox" name="P_412"
value='3/8'
/>
3/8
<input type="checkbox" name="P_412"
value='37/64'
/>
37/64
<input type="checkbox" name="P_412"
value='39/64'
/>
39/64
<input type="checkbox" name="P_412"
value='5/8'
/>
5/8
<input type="checkbox" name="P_412"
value='7/8'
/>
7/8
<input type="checkbox" name="P_412"
value='1-1/16'
/>
1-1/16
</TD>
<td><img src="../../images/trans.gif" width="5" height="1"></td>
</TR>
<tr><td class="lineBtwRow" colspan="100%"><img src="../../images/trans.gif" width="100%" height="1" border="0"></td></tr>
<tr class="buttonRow">
<td colspan="3"><img src="../../images/trans.gif" width="16" height="8"></td>
<td colspan="4">
<input type="submit" value="Search" class="button">
<input type="button" class="button" value="Clear" onclick="toReset()"/>
<input type="button" class="button" value="Cancel" onclick="toCancel()"/>
<td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
</body>
</html>