export a report to a file on the client pc 
Author Message
 export a report to a file on the client pc

Hello all,

I have a web application that creates reports.

I need to export a report to .xls file and save the file to the client
computer.

at the moment the file gets saved onto the server...

code:--------------------------------------------------------------------------------
Fname = "C:\Reports\Excel\Report.xls"
crDiskFileDestinationOptions.DiskFileName = Fname
With myReport.ExportOptions
    .DestinationOptions = crDiskFileDestinationOptions
    .ExportDestinationType = ExportDestinationType.DiskFile
    .ExportFormatType = ExportFormatType.RichText
End With
myReport.Export()
--------------------------------------------------------------------------------

how would i change my code to solve my problem?

thanx,
Tom



Mon, 07 Nov 2005 00:25:41 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Update Crystal Reports files in the client PC's

2. Exporting a report not working on some PC's

3. Checking on files on a clients PC...

4. CR files for Client PC

5. Invalid Export Options error when exporting a crystal report

6. Exporting Reports to multiple text files using vba

7. Exporting a report to a text file (from VBA)

8. export report to a text file HELP!!!

9. How to export Data Report to Excel file?

10. Exporting a report generates a 0-Byte file

11. export crystal report to a text file

12. Exporting a report in VB - Temp File

 

 
Powered by phpBB® Forum Software