views:

258

answers:

2

Hi, 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.

A: 

Have you considered using the ReportDocument.ExportToDisk method?

Craig
A: 

Try setting the ReportDocument.SummaryInfo.ReportTitle property prior to the export - I think this is used as the default name.

CodeByMoonlight