How do I set default pdf file name in crystal viewer while exporting it?

Nitin picture Nitin · Oct 29, 2009 · Viewed 9.5k times · Source

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.

Answer

Madusanka picture Madusanka · Nov 20, 2013

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"