由QRCompositeReport組成的報表不預覽﹐打印而直接保存成*.QRP文件呢﹖ |
尚未結案
|
qinmingzsj
一般會員 發表:9 回覆:12 積分:4 註冊:2003-05-08 發送簡訊給我 |
|
qinmingzsj
一般會員 發表:9 回覆:12 積分:4 註冊:2003-05-08 發送簡訊給我 |
|
hahalin
版主 發表:295 回覆:1698 積分:823 註冊:2002-04-14 發送簡訊給我 |
|
hagar
版主 發表:143 回覆:4056 積分:4445 註冊:2002-04-14 發送簡訊給我 |
|
qinmingzsj
一般會員 發表:9 回覆:12 積分:4 註冊:2003-05-08 發送簡訊給我 |
|
artist1002
高階會員 發表:2 回覆:155 積分:151 註冊:2002-09-26 發送簡訊給我 |
剛剛讀了http://www.qusoft.com/QuickReportFAQ.doc這份文件
QRCompositeReport好像直接不支援qrprint,必須獨立存每個Report
原文如下:
Q. How can we save a composite report to a file (*.QRP) from source code? (We can not access a QRPrinter object for Composite Report (seems to be declared 'private')).
A. You should be able access the qrprinter by referencing the qrprinter of one of the individual reports in the composite report after you call Prepare.
但是在這份文件中又提供合併*.QRP檔案到單一檔案的方法
原文如下:
Q. I have an application that saves a series of reports to the QRP format. I would like to print them all at once as a single print job, is that posible?
A. In the QR3RNGD4.ZIP project on our download page, we have a function named CombineQRP() in the qrqrp.pas unit. The function takes a stringlist of QRP filenames and combines them into a single QRP file. You can then load that file into a preview or the TQRPHandler class for viewing or printing. This can be used as an alternative to the CompositeReport.
照這樣看來,如果先把獨立的Report存檔,再使用合併的方法合併成為一個*.QRP檔案不知道合不合用?
我沒有試過,是照原文想像的...總之,當作參考
|
sindywuu
一般會員 發表:1 回覆:10 積分:2 註冊:2004-04-20 發送簡訊給我 |
客位大大,我在安裝目錄下找不到 qrqrp.pas unit
請問有 CombineQRP() 是不是在什麼版本下的file??還是要再裝什麼?? ===================引 用 artist1002 文 章=================== 剛剛讀了http://www.qusoft.com/QuickReportFAQ.doc這份文件 QRCompositeReport好像直接不支援qrprint,必須獨立存每個Report 原文如下: Q. How can we save a composite report to a file (*.QRP) from source code? (We can not access a QRPrinter object for Composite Report (seems to be declared 'private')). A. You should be able access the qrprinter by referencing the qrprinter of one of the individual reports in the composite report after you call Prepare. 但是在這份文件中又提供合併*.QRP檔案到單一檔案的方法 原文如下: Q. I have an application that saves a series of reports to the QRP format. I would like to print them all at once as a single print job, is that posible? A. In the QR3RNGD4.ZIP project on our download page, we have a function named CombineQRP() in the qrqrp.pas unit. The function takes a stringlist of QRP filenames and combines them into a single QRP file. You can then load that file into a preview or the TQRPHandler class for viewing or printing. This can be used as an alternative to the CompositeReport. 照這樣看來,如果先把獨立的Report存檔,再使用合併的方法合併成為一個*.QRP檔案不知道合不合用? 我沒有試過,是照原文想像的...總之,當作參考 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |