ChangeReportNameForm.csp

To download the CSP files from this tutorial, click TutorialSamples_vb.zip. For more information about using the samples, see Code examples.


<HTML>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=charset=UTF-8">

<BODY>

<%    



Dim CurrentReportID, CurrentReportName, CurrentFolderID


'Retrieve the ID and report name from the parameter list.

CurrentReportID = Request.QueryString("ReportID")

CurrentReportName = Request.QueryString("ReportName")

CurrentFolderID = Request.QueryString("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

'post action.

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 " & _

        "<B>Update</B>.</P>"

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="" "& _

                CurrentReportName & " "">"


'The 'Update' button.

Response.Write "<P><INPUT name=sa type=submit value=""Update"">"


%>

</BODY>

</HTML>





Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com