I have a two ASP forms. The fist one has a table which is loaded with data from a sql db. Currently I am using the Get method of passing data from the first form to the second. Now I want to use the Post Method of passing variables between the two forms.
This is my problem the only way I can get this to work is to create a button adjacent to each row in the table and assign the search value as it's name:
VB Code:
<tr> <td><% =LngCounter %>.</td> <td><%= mid(rstSimple.Fields("Incident_Type").Value,4)%>  </td> <td Align = "Center"><%= rstSimple.Fields("Filenum").Value%>  </td> <td Align = "Center"><%= rstSimple.Fields("CASENUM").Value%>  </td> <td Align = "Center"><%= rstSimple.Fields("Received_Dt").Value%>  </td> <td Align = "Center"><%= rstSimple.Fields("STATUS").Value%>  </td> <td Align = "Center">Not in Mailbox</td> <td><input type="submit" Name = "INCNUM" value= <% =IncNumber %>></td> </tr>
INCNUM is the value that I have to pass to the other form in order to access the related data on the second form. I guess I need to add a hidden text box to my form and them some how transfer the value of the selected row's INCNUM to the other form. But I am stumped, any ideas?
Thanks![]()




Reply With Quote