I want to have a select box where a user can choose a selection, and then print the form and the selection must appear on the form when printed, not the select box.
I am using the code below, but how do i pass the selected value to the variable "store" to print ?
thanx.
<span class="Print">
<tr>
<td Branch : b><%= store %></b></td>
</tr>
</span>
<span class="noPrint">
<tr>
<td Branch :<b>
<select name="Company">
<!--#include virtual="/common/database.inc"--><%
Set RSC = MyClientsConn.Execute("SELECT * FROM Stores"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
IF not RSC.EOF then
RSC.MoveFirst
do while Not RSC.eof
%>
<option value="<%=RSC("Code"
%>"><%=RSC("Store"
%></option>
<% End If
RSC.MoveNext
LOOP
END IF%>
</select>
</b></td>
</tr>
</span>
I am using the code below, but how do i pass the selected value to the variable "store" to print ?
thanx.
<span class="Print">
<tr>
<td Branch : b><%= store %></b></td>
</tr>
</span>
<span class="noPrint">
<tr>
<td Branch :<b>
<select name="Company">
<!--#include virtual="/common/database.inc"--><%
Set RSC = MyClientsConn.Execute("SELECT * FROM Stores"
IF not RSC.EOF then
RSC.MoveFirst
do while Not RSC.eof
%>
<option value="<%=RSC("Code"
<% End If
RSC.MoveNext
LOOP
END IF%>
</select>
</b></td>
</tr>
</span>