Hi,
I'm trying to have a user enter the quantity he wants to order in the
text box and pass all the parameters to a sub called "add" on the same page.
I can't figure out how to pass the quantity entered to the sub. Can someone
help?
Thanks,
SC
Response.Write "<center><t able border=""1""><t r>"
For i= 0 to RS.Fields.Count - 1
Response.Write "<th>" & RS(i).Name & "</th>"
Next
Response.Write "</tr>"
While Not RS.EOF
Response.Write "<tr>"
For i= 0 to RS.Fields.Count - 1
Response.Write "<td>" & RS(i) & "</td>"
Next
Response.Write "<td>"%><In put type="text" size="1" name="MEQTY"
value="0"></td><%
Response.Write "<td>"%><A
HREF="./thispage.asp?ac tion=add&qty=?? ???&stockid=<%= RS.fields("Stoc k_ID")%>
&description=<% =RS.fields("des cription")%>">O rder!</A></td><%
0011-00-030 THE SCIENCE OF HURDLING BOOKS 39 Order!
I'm trying to have a user enter the quantity he wants to order in the
text box and pass all the parameters to a sub called "add" on the same page.
I can't figure out how to pass the quantity entered to the sub. Can someone
help?
Thanks,
SC
Response.Write "<center><t able border=""1""><t r>"
For i= 0 to RS.Fields.Count - 1
Response.Write "<th>" & RS(i).Name & "</th>"
Next
Response.Write "</tr>"
While Not RS.EOF
Response.Write "<tr>"
For i= 0 to RS.Fields.Count - 1
Response.Write "<td>" & RS(i) & "</td>"
Next
Response.Write "<td>"%><In put type="text" size="1" name="MEQTY"
value="0"></td><%
Response.Write "<td>"%><A
HREF="./thispage.asp?ac tion=add&qty=?? ???&stockid=<%= RS.fields("Stoc k_ID")%>
&description=<% =RS.fields("des cription")%>">O rder!</A></td><%
0011-00-030 THE SCIENCE OF HURDLING BOOKS 39 Order!
Comment