T
TNGgroup
Hi,
I have a problem with some forms. I created 2 pages, one (list.asp) is an
overview of all my record. for each record I put a button. When I click the
button I would like a second asp page (edit.asp) to open with that specific
record. This is a part code of my list.asp. the link should be based upon
contact_id.
But he is always showing the first record ??
Thx
TNG
<%Do While Not objRS.EOF%>
<tr>
<td><b>Item / Company</b><font
color="#330099"> <%=objRS("contact_item")%></font></p></td>
<td><b>Contact</b><font
color="#330099"> <%=objRS("contact_name")%></font></td>
<td><b>Country</b><font
color="#330099"> <%=objRS("ItC_Country")%></font></td>
<td valign="top">
<form action="edit.asp" method="post" name="form_edit" target="_self">
<input name="" type="text" value="<%=objRS("contact_id")%>" size="2">
<input name="Edit" type="submit" class="content" value="Edit this
contact">
</form>
</tr>
<tr><TD colspan="3"><hr>
</TD>
</tr>
<%objRS.movenext
Loop%>
I have a problem with some forms. I created 2 pages, one (list.asp) is an
overview of all my record. for each record I put a button. When I click the
button I would like a second asp page (edit.asp) to open with that specific
record. This is a part code of my list.asp. the link should be based upon
contact_id.
But he is always showing the first record ??
Thx
TNG
<%Do While Not objRS.EOF%>
<tr>
<td><b>Item / Company</b><font
color="#330099"> <%=objRS("contact_item")%></font></p></td>
<td><b>Contact</b><font
color="#330099"> <%=objRS("contact_name")%></font></td>
<td><b>Country</b><font
color="#330099"> <%=objRS("ItC_Country")%></font></td>
<td valign="top">
<form action="edit.asp" method="post" name="form_edit" target="_self">
<input name="" type="text" value="<%=objRS("contact_id")%>" size="2">
<input name="Edit" type="submit" class="content" value="Edit this
contact">
</form>
</tr>
<tr><TD colspan="3"><hr>
</TD>
</tr>
<%objRS.movenext
Loop%>