1
嗨我试图从Crystal Reports 11导出为CSV格式的报表,但问题是每个字符串值都包含在引号内,我不想要。我试图将分隔符设置为空格,但它不起作用。有人可以帮助我这个..?在Crystal Report 11中将文件导出为CSV
这里是我的代码:
elseif ExportFormat = "CSV" then
ExportType = "5"
ExportFileName = TimeStamp&"_"&Session.SessionID&ReportDN&".CSV"
crystalExportOptions.DiskFileName = ExportDirectory & ExportFileName
crystalExportOptions.FormatType = CInt(ExportType)
crystalExportOptions.CharStringDelimiter =" "
'crystalExportOptions.FormatType = ExportFormat
crystalExportOptions.DestinationType = CInt(1)
Session("oRpt").Export False
Response.ContentType = "text/x-csv"
Response.Redirect "RDCrptserver10.asp?cmd=export&export_fmt=crxf_csv:0"