|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Response.Redirect |
From: |
John |
Date: |
3/29/1999 10:10:24 AM |
IP: |
208.198.97.5 |
I am using a drop down box to make a choice. I am then sending it to a link page. I keep getting sent to the same page I make the choice from though. Could you look at my code??
Code for Select:
<form Action= Update_Link.asp method="post">
<table Width="250">
<tr>
<td align="center" width="500"><h5>Emergency Signs</h5></td>
</tr>
<tr>
<td align="center" width="250">
<select Name="Emer_Sign">
<option Value="1">Battery Failure</option>
<option Value="2">Electronic Failure</option>
<option Value="3">Lamp Failure</option>
<option Value="4">Line Voltage Failure</option>
</select>
</td>
</tr>
</table>
<table width="500">
<tr align="center">
<td align="center" width="250"><input Type="submit" Value="Go" Name="Emer_Go"></td>
</tr>
</table>
</form>
Code in Link:
<%dim Link, Emer_Req
Emer_Req = Request.Form(Emer_Sign)
Select Case(Emer_Req)
Case 1
Link = "http://www.mbc.com/Exit_Sign/North_PKG/Data_Input/North_pkg_Input.asp"
Case 2
Link = "http://www.mbc.com/Exit_Sign/North_PKG/Reports/North_Reports.asp"
Case 3
Link = "http://www.mbc.com/Exit_Sign/North_PKG/Update/North_Update_Test.asp"
End Select
Response.Redirect(Link)
%>
Thanks!!! |
Follow Up - Re: Response.Redirect - Harlan 3/29/1999 11:57:33 AM
Follow Up - Re: Response.Redirect - Harlan 3/29/1999 12:00:34 PM
|
|

|
|
|
|
|
|
|
|
|
|