code_junkie

Why do I get a “Failed to export the report” error when I try to export a Crystal Report to an HTML file?

Nov 12th, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Dim objCRReport As CRAXDRT.Report
  2. [...]
  3. objCRReport.ExportOptions.FormatType = 32 'crEFTHTML40
  4. objCRReport.ExportOptions.DestinationType = 1 'crEDTDiskFile
  5. objCRReport.ExportOptions.DiskFileName = "C:reportInHtmlFormat.html"
  6. objCRReport.Export False '<--- "Failed to export the report" error here
Add Comment
Please, Sign In to add comment