How to set default pdf file name in crystal viewer while exporting it

crystal-reportsviewer

I have devoloped an application in Visual Foxpro 9.0 using Crystal reports 10 as report designer. Database in SQL 2005.
For report preivew, I have used Crystal Report Viewer 10.
My problem is, while exporting it in PFD through Report viewer, How do I set default File name for the exported file? By default it gives name of rpt file as default name of PDF file.

Best Answer

You can do it by setting the report tile which the default file name you wish to have.

cr.SummaryInfo.ReportTitle = "Default File name you want"
Related Topic