home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
bombers.k12.ar.us
/
bombers.k12.ar.us.tar
/
bombers.k12.ar.us
/
survey_unconfigured
/
InsertReportFilter.asp
< prev
next >
Wrap
Text File
|
2006-10-25
|
2KB
|
35 lines
<!--#Include File="Include/Top_inc.asp"-->
<%
'***********************************************************************
' Application: SelectSurveyASP Advanced v8.1.11
' Author: Aaron Baril for ClassApps.com
' Page Description: This page inserts a new report filter by calling the
' InsertReportFilter function.
'
' COPYRIGHT NOTICE
'
' See attached Software License Agreement
'
' (c) Copyright 2002 - 2006 by ClassApps.com. All rights reserved.
'***********************************************************************
%>
<!--#Include File="Include/Config_inc.asp"-->
<!--#Include File="Include/Utility_inc.asp"-->
<!--#Include File="Include/adovbs_inc.asp"-->
<!--#Include File="Include/CurrentUser_inc.asp"-->
<!--#Include File="Include/SurveySecurity_inc.asp"-->
<!--#Include File="Include/SurveyReportFilter_inc.asp"-->
<!--#Include File="Include/ID_inc.asp"-->
<!--#Include File="Include/Constants_inc.asp"-->
<%
'If the user has access to the overview report, they also have access to the report filters
If CanUserViewOverviewReport(Request.Form("SurveyID")) = False Then
Response.Redirect "AccessDenied.asp?SurveyID=" & Request.Form("SurveyID") & "&Reason=" & SUR_ACCESS_DENIED_NOT_PERMISSION_TO_PAGE_FILTERS
End If
'Insert the new report filter
InsertReportFilter Request.Form("SurveyID")
'Redirect to the modify survey page for the survey.
Response.Redirect "ReportFilterList.asp?SurveyID=" & Request.Form("SurveyID") & "&SurveyName=" & Request.Form("SurveyName") & "&DisplayHeader=" & Request.Form("DisplayHeader")
%>