I have some SUBMIT buttons which cause the following to run:
if NOT isempty(Request.Form(“NewReport”)) then
strRedirect = “./FieldSelection.asp?ViewName” & Request.Form(“ViewName”)
Response.Redirect strRedirect
elseif NOT isempty(Request.Form(“ExistingReport”)) then
strRedirect = “./AmendReport.asp?ReportName=” & Request.Form(“ReportName”)
Response.Redirect strRedirect
elseif NOT isempty(Request.Form(“Home”)) then
Response.Redirect “../default.asp”
end if
Unfortuenately, whenI press a button I get an http 404 error stating the page cannot be found. The redirects work if they are outside the button code then the redirects work.
Any ideas?