線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:2654
推到 Plurk!
推到 Facebook!

由QRCompositeReport組成的報表不預覽﹐打印而直接保存成*.QRP文件呢﹖

尚未結案
qinmingzsj
一般會員


發表:9
回覆:12
積分:4
註冊:2003-05-08

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-09-23 17:55:59 IP:61.145.xxx.xxx 未訂閱
親愛的版主﹕ 我遇到如下一個問題﹐麻煩您幫我。 我由兩個QuickRep用QRCompositeReport組成的報表在不預覽﹐不打印的情況下怎樣直接保存成*.QRP文件呢﹖ 如果只用QuickRep我可以使用QuickRep的QRprint.save保存成一個文件﹐但是用QRCompositeReport﹐我不知道使用什么方法也可以這樣做得到﹗
qinmingzsj
一般會員


發表:9
回覆:12
積分:4
註冊:2003-05-08

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-09-24 15:36:37 IP:61.145.xxx.xxx 未訂閱
親愛的版主﹕ 為什么這個問題沒有人能回答我呢﹖ 難道是問題過于淺顯呢﹐還是過于苦難呢﹖ 我真的很急呀﹗
hahalin
版主


發表:295
回覆:1698
積分:823
註冊:2002-04-14

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-09-25 09:17:21 IP:210.243.xxx.xxx 未訂閱
親愛的qinmingzsj:      版主不是超人,也有搞不定的時候,這個問題有實際去try過,發現不透過preview視窗去save成*.qrp的話,只能用匯出的元件來處理,而匯出的格式當中並沒有*.qrp.      經過與chih版主討論後,嗯,我們得到一個結論.      那就是,我們兩個也不會... 發表人 -
hagar
版主


發表:143
回覆:4056
積分:4445
註冊:2002-04-14

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-09-25 09:26:55 IP:202.39.xxx.xxx 未訂閱
沒用過報表, 找了一篇不知是不是: >
qinmingzsj
一般會員


發表:9
回覆:12
積分:4
註冊:2003-05-08

發送簡訊給我
#5 引用回覆 回覆 發表時間:2003-09-25 11:43:54 IP:61.145.xxx.xxx 未訂閱
TO:親愛的版主hahalin 雖然問題沒有解決﹐但是真的還是很謝謝你﹗ 不過我相信以版主的聰明才智和熱心假以時日 一定能給我一個完美的答案的﹗是嗎﹖我也希 望有更多的朋友能夠參與一起來解決我們每個人 程序生涯中遇到的一些困難。 TO:hagar 謝謝你﹗雖然我還沒有解決這個問題﹐但是你 的熱心卻使我很感動
artist1002
高階會員


發表:2
回覆:155
積分:151
註冊:2002-09-26

發送簡訊給我
#6 引用回覆 回覆 發表時間:2003-09-25 20:14:40 IP:211.76.xxx.xxx 未訂閱
剛剛讀了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

發送簡訊給我
#7 引用回覆 回覆 發表時間:2007-10-11 15:30:11 IP:61.30.xxx.xxx 訂閱
客位大大,我在安裝目錄下找不到 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檔案不知道合不合用? 我沒有試過,是照原文想像的...總之,當作參考
系統時間:2024-04-25 7:30:16
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!