Can some one help me out?
I’m trying to export a crystal report to a *.csv format, programmatically through VB.
I get this far but what I can’t seem to figure out is how to tell the application to save it.
Set CRXApp = CreateObject(“CrystalRunTime.Application”)
Set CRXRpt = CRXApp.OpenReport(strReportName)
CRXRpt.ExportOptions.FormatType = crEFTCommaSeparatedValues
CRXRpt.ExportOptions.DestinationType = crEDTDiskFile
CRXRpt.ExportOptions.UseReportDateFormat = True
CRXRpt.ExportOptions.UseReportNumberFormat = True
CRXRpt.ExportOptions.DiskFileName = “c:\aaaa\exportedTest.csv”
Any suggestion or recommendation would be great.
I’m trying to export a crystal report to a *.csv format, programmatically through VB.
I get this far but what I can’t seem to figure out is how to tell the application to save it.
Set CRXApp = CreateObject(“CrystalRunTime.Application”)
Set CRXRpt = CRXApp.OpenReport(strReportName)
CRXRpt.ExportOptions.FormatType = crEFTCommaSeparatedValues
CRXRpt.ExportOptions.DestinationType = crEDTDiskFile
CRXRpt.ExportOptions.UseReportDateFormat = True
CRXRpt.ExportOptions.UseReportNumberFormat = True
CRXRpt.ExportOptions.DiskFileName = “c:\aaaa\exportedTest.csv”
Any suggestion or recommendation would be great.