webform crosstab報表無法列印,列印代碼如下:
//dw_2的“Data Export”下的“format to configure”修改為PDF
//Saving as PDF select the distill method
dw_2.Object.DataWindow.Export.PDF.Method = Distill!
//select printer
dw_2.Object.DataWindow.Printer = "Sybase DataWindow PS"
dw_2.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"
//printing pdf files
dw_2.SaveAs ( ls_filename,PDF!,false)
#if defined PBWEBFORM then
DownloadFile(ls_filename, true) // true=打開, false=下載
#end if
點列印的時候出現“本檔案無法打開,因為它不含頁面”提示,好像是資料沒保存到檔案中去,求解!
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/76551.html
標籤:Web 應用
上一篇:奇怪資料管道整表同步丟失資料問題
下一篇:關于PB的手寫輸入控制元件問題
