Using the following go code which fine unless export location has wrong syntax in it eg: my*file:.rpt How do I supress the following crystal error message Crystal Reports ActiveX designer: Invaild Directory:
Supressing the error is fine as it all get written to a log fine anyway:
With oExportOptions
.UseReportDateFormat = True
.UseReportNumberFormat = True
.DestinationType CRAXDDRT.CRExportDestinationType.crEDTDiskFile
.DiskFileName = cExportFileName
.FormatType = crEFTRichText
.RTFExportAllPages = True
End With
Call oReport.Export(False)
Supressing the error is fine as it all get written to a log fine anyway:
With oExportOptions
.UseReportDateFormat = True
.UseReportNumberFormat = True
.DestinationType CRAXDDRT.CRExportDestinationType.crEDTDiskFile
.DiskFileName = cExportFileName
.FormatType = crEFTRichText
.RTFExportAllPages = True
End With
Call oReport.Export(False)