Advertisement
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: |
Base (Section 1)
----------------------------------
Set RS4 = Connection.Execute(BASE)
Response.Write("<table>")
rowcounter = 0
Do While Not RS4.EOF
%>
<form id="form1" name="form1" method="post" action="price_list.asp">
<tr id="row">
<td width=25px>
<input type="checkbox" name="check" value="<%=(RS4.Fields("KPSEQ"))%>" checked disabled onclick="toggle(this.form, 'base_part<%=rowcounter%>', 'base_desc<%=rowcounter%>', 'base_qty<%=rowcounter%>', 'base_price<%=rowcounter%>', 'base_total<%=rowcounter%>', !this.checked)" /> </td>
<td width=80px>
<input type="text" name="base_part<%=rowcounter%>" value="<%=(RS4.Fields("KPCOM"))%>" size="12" maxlength="14" > </td>
<td width=500px>
<input type="text" name="base_desc<%=rowcounter%>" value="<%=server.HTMLEncode("" & RS4("DESCP"))%><%=server.HTMLEncode("" & RS4("DSCPS"))%>" size="82" maxlength="80" > </td>
<td width=66px>
<input type="text" name="base_qty<%=rowcounter%>" value="<%=(RS4.Fields("KPQTY"))%>" disabled size="2" maxlength="3" onfocus=this.value="" onchange="this.form['base_total<%=rowcounter%>'].value=(this.value/1) * (this.form['base_price<%=rowcounter%>'].value/1);" > </td>
<td width=66px>
<input type="text" name="base_price<%=rowcounter%>" value="<%=(RS4.Fields("LSTPC"))%>" size="8" maxlength="7" /> </td>
<td width=66px>
<input type=text name="base_total<%=rowcounter%>" value="<%=(RS4.Fields("LSTPC"))%>" size="5" maxlength="7" > </td>
</tr>
<%
rs4.MoveNext
loop
rs4.Close
Standard Items (Section 2)
----------------------------------
<%
Response.Write("<table>")
rowcounter = 0
Do While Not RS3.EOF
%>
<form id="form1" name="form1" method="post" action="price_list.asp">
<tr id="row">
<%rowcounter = rowcounter +1%>
<td width=25px>
<input type="checkbox" name="checkA" value="<%=(RS3.Fields("KPSEQ"))%>" checked onclick="toggle(this.form, 'partA<%=rowcounter%>', 'descA<%=rowcounter%>', 'qtyA<%=rowcounter%>', 'priceA<%=rowcounter%>', 'totalA<%=rowcounter%>', !this.checked)" /> </td>
<td width=80px>
<input type="text" name="partA<%=rowcounter%>" value="<%=(RS3.Fields("KPCOM"))%>" size="12" maxlength="14" > </td>
<td width=500px>
<input type="text" name="descA<%=rowcounter%>" value="<%=server.HTMLEncode("" & RS3("DESCP"))%><%=server.HTMLEncode("" & RS3("DSCPS"))%>" size="82" maxlength="80" > </td>
<td width=66px>
<input type="text" name="qtyA<%=rowcounter%>" value="<%=(RS3.Fields("KPQTY"))%>" size="2" maxlength="3" onfocus=this.value="" onchange="this.form['totalA<%=rowcounter%>'].value=(this.value/1) * (this.form['priceA<%=rowcounter%>'].value/1);" > </td>
<td width=66px>
<input type="text" name="priceA<%=rowcounter%>" value="<%=fixPrice(RS3.Fields("LSTPC"))%>" size="8" maxlength="7" /> </td>
<td width=66px>
<input type=text name="totalA<%=rowcounter%>" value="<%=fixPrice(RS3.Fields("LSTPC"))%>" size="5" maxlength="7" > </td>
</tr>
<%
rs3.MoveNext
loop
rs3.Close
Optional Items (Section 3)
----------------------------------
<% Response.Write("<table>")
rowcounter = 0
Do While Not RS.EOF %>
<tr id="row">
<%rowcounter = rowcounter +1%>
<td width=25px>
<input type="checkbox" name="checkB" value="<%=(RS.Fields("KPSEQ"))%>" unchecked onclick="toggle(this.form, 'partB<%=rowcounter%>', 'descB<%=rowcounter%>', 'qtyB<%=rowcounter%>', 'priceB<%=rowcounter%>', 'totalB<%=rowcounter%>', !this.checked)" /> </td>
<td width=80px>
<input type="text" name="partB<%=rowcounter%>" value="<%=(RS.Fields("KPCOM"))%>" size="12" maxlength="14" disabled> </td>
<td width=500px>
<input type="text" name="descB<%=rowcounter%>" value="<%=server.HTMLEncode("" & RS("DESCP"))%><%=server.HTMLEncode("" & RS("DSCPS"))%>" size="82" maxlength="80" disabled> </td>
<td width=66px>
<input type="text" name="qtyB<%=rowcounter%>" value="<%=(RS.Fields("KPQTY"))%>" size="2" maxlength="3" onfocus=this.value="" onchange="this.form['totalB<%=rowcounter%>'].value=(this.value/1) * (this.form['priceB<%=rowcounter%>'].value/1);" disabled> </td>
<td width=66px>
<input type="text" name="priceB<%=rowcounter%>" value="<%=fixSTD(RS.Fields("LSTPC"))%>" size="8" maxlength="7" disabled /> </td>
<td width=66px>
<input type=text name="totalB<%=rowcounter%>" value="<%=fixSTD(RS.Fields("LSTPC"))%>" size="5" maxlength="7" disabled> </td>
</tr>
<%
rs.MoveNext
loop
rs.Close
|
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
|
Loading Advertisement... |