Forums

This topic is locked

Redirect from results Asp

Posted 05 May 2008 20:36:00
1
has voted
05 May 2008 20:36:00 Kent Kra188 posted:
I have two parts to this:

I am using Dreamweaver MX

The first of the of the redirect works but how do I get the second part to work if the first part is false?

<%
if (Recordset1.EOF) {Response.Redirect("timelocked.asp"} - This works but how do I go to the next redirect if this passes?

{Response.Redirect ("jobassign.asp"}
%>

Replies

Replied 22 May 2008 08:39:34
22 May 2008 08:39:34 Dave Clarke replied:
<%
if (Recordset1.EOF) Then {Response.Redirect("timelocked.asp"}
else
{Response.Redirect ("jobassign.asp"}
end if
%>


UD4|DW8.02|DWCS3|ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome.
www.reunite.co.uk
www.dogworld-uk.com

Reply to this topic