paulatreboot
Technical User
Hi
i am trying to include the description and dimention in the form values that are sent, i did at one time manage to get the values to go accross but because i am showing 5 records at a time it showed all five dimentions and descriptions for that page
if anyone could help i would be gratefull
thank you
paul edwards (code below)
oh access 2000 and dreamweaver 8 and asp thanks
<form id="products" name="products" method="get" action="cart.asp">
<table width="100%" border="0">
<tr>
<td>Description</td>
<td>Dimentions</td>
<td>Shiplap</td>
<td>Overlap</td>
<td>Treatment</td>
<td>Erect</td>
<td>Cart</td>
</tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT rsApex.EOF))
%>
<tr>
<td><%=(rsapex.fields.item("description").value)%></td>
<td><%=(rsapex.fields.item("dimentions").value)%></td>
<td><input type="radio" id="wood"name="wood" value="<%=(rsapex.Fields.Item("shiplap").Value)%>">
£ <%=(rsapex.Fields.Item("shiplap").Value)%>.00</td>
<td><input type="radio" id="radio" name="wood" value="<%=(rsapex.Fields.Item("overlap").Value)%>" />
£ <%=(rsapex.Fields.Item("overlap").Value)%>.00</td>
<td><input type="radio" id="treatment" name="treatment" value="<%=(rsapex.Fields.Item("treatment").Value)%>">
£ <%=(rsapex.Fields.Item("treatment").Value)%>.00</td>
<td><input type="radio" id="erect" name="erect" value="<%=(rsapex.Fields.Item("erect").Value)%>">
£ <%=(rsapex.Fields.item("erect").Value)%>.00</td>
<td><input type="submit" value="Add To Cart" /></td>
<%
'strdescription = (rsapex.fields.item("description").value
'response.Write(strdescription)
%>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsApex.MoveNext()
Wend
%>
</table>
</form>
i am trying to include the description and dimention in the form values that are sent, i did at one time manage to get the values to go accross but because i am showing 5 records at a time it showed all five dimentions and descriptions for that page
if anyone could help i would be gratefull
thank you
paul edwards (code below)
oh access 2000 and dreamweaver 8 and asp thanks
<form id="products" name="products" method="get" action="cart.asp">
<table width="100%" border="0">
<tr>
<td>Description</td>
<td>Dimentions</td>
<td>Shiplap</td>
<td>Overlap</td>
<td>Treatment</td>
<td>Erect</td>
<td>Cart</td>
</tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT rsApex.EOF))
%>
<tr>
<td><%=(rsapex.fields.item("description").value)%></td>
<td><%=(rsapex.fields.item("dimentions").value)%></td>
<td><input type="radio" id="wood"name="wood" value="<%=(rsapex.Fields.Item("shiplap").Value)%>">
£ <%=(rsapex.Fields.Item("shiplap").Value)%>.00</td>
<td><input type="radio" id="radio" name="wood" value="<%=(rsapex.Fields.Item("overlap").Value)%>" />
£ <%=(rsapex.Fields.Item("overlap").Value)%>.00</td>
<td><input type="radio" id="treatment" name="treatment" value="<%=(rsapex.Fields.Item("treatment").Value)%>">
£ <%=(rsapex.Fields.Item("treatment").Value)%>.00</td>
<td><input type="radio" id="erect" name="erect" value="<%=(rsapex.Fields.Item("erect").Value)%>">
£ <%=(rsapex.Fields.item("erect").Value)%>.00</td>
<td><input type="submit" value="Add To Cart" /></td>
<%
'strdescription = (rsapex.fields.item("description").value
'response.Write(strdescription)
%>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsApex.MoveNext()
Wend
%>
</table>
</form>