To download the CSP files from this tutorial, click TutorialSamples.zip. For more information, see Code examples.
<META HTTP
<link REL=STYLESHEET TYPE='text/css' HREF='tut.css'>
<!-- #include file=helper_js.csp -->
var CurrentReportID, CurrentReportName, CurrentFolderID;
//Retrieve the ID and report name from the parameter list.
CurrentReportID = Request.QueryString.Item("ReportID") ;
CurrentReportName = Request.QueryString.Item("ReportName");
CurrentFolderID = Request.QueryString.Item("FolderID");
//Post the results of this form to the file RenameReport.csp and
//give it the report ID. The report name will be a part of the
Response.Write ("<FORM name=logonForm action=\"RenameReport.csp
"ReportID=" + CurrentReportID + "&FolderID=" +CurrentFolderID+" \" method=POST>");
Response.Write ("<P><B>Change Report Name</B></P>This form " +
"will allow you to change the name of the report." +
"Enter the new name below and then click " +
Response.Write ("Report Name<BR>");
//The text box with the current report name as the value.
Response.Write ("<input type=text size=70 name=\"ReportName\" value=\""+
Response.Write ("<P><INPUT name=sa type=submit value=\"Update\">");
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |