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"