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:
  1. <tr>
  2.         <td><% =LngCounter %>.</td>
  3.         <td><%= mid(rstSimple.Fields("Incident_Type").Value,4)%> &nbsp</td>
  4.         <td Align = "Center"><%= rstSimple.Fields("Filenum").Value%> &nbsp</td>
  5.         <td Align = "Center"><%= rstSimple.Fields("CASENUM").Value%> &nbsp</td>
  6.         <td Align = "Center"><%= rstSimple.Fields("Received_Dt").Value%> &nbsp</td>
  7.         <td Align = "Center"><%= rstSimple.Fields("STATUS").Value%> &nbsp</td>
  8.         <td Align = "Center">Not in Mailbox</td>
  9.         <td><input type="submit" Name = "INCNUM" value= <% =IncNumber %>></td>
  10.            </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