如何在导出时在Crystal Viewer中设置默认的pdf文件名?

如何在导出时在Crystal Viewer中设置默认的pdf文件名?

问题描述:

我已经在Visual Foxpro 9.0中使用Crystal报表10作为报表设计器来移植应用程序。
对于报表预览,我使用了Crystal Report Viewer 10.
我的问题是,在通过报表查看器导出PFD时,如何为导出的文件设置默认文件名?默认情况下,它会将rpt文件的名称作为PDF文件的默认名称。

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.

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