Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transfer of variables from table to table...

Status
Not open for further replies.

rtnMichael

Programmer
Aug 5, 2002
152
US
this is a continuing question from thread 215-373919 in this same forum.

I have this piece of code and was wondering how I would go about adding text boxes in the table, so to make it easier to transfer to another table on the same page (kinda like a refresh of the page, but with chosen parameters moved to the next table while being deleted from the original)

<td valign=top>
<select name=list_of_params size=10 multiple style=&quot;width:275px;height:200;&quot;>
<option value=&quot;5048&quot;><small>one</small>
<option value=&quot;3500&quot;><small>two</small>
<option value=&quot;3500&quot;><small>three</small>
<option value=&quot;3500&quot;><small>four</small>
</select>
</td>

and will transfer (with button) over to this table, right next to it:

<td valign=middle align=top>
<input type='submit' name='btnSubmit' value='> > '
onclick=move_exclusion(list_of_params);>

<input type='submit' name='btnSubmit' value=' < <'
onclick=form.submit();>
</td>

<td valign=top>
<select name=pidstradee size=10 multiple
style=&quot;width:275px;height:200;&quot;>
<option value=&quot;4656&quot;><small></small>
<option value=&quot;4656&quot;><small></small>
<option value=&quot;4656&quot;><small></small>
<option value=&quot;4656&quot;><small></small>
</select>
</td>


What would the function look like, or would I have to create some sort of query for it to move to another table?

Thanks
M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top