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

設quickrep之page之columns為2之問題?

答題得分者是:Fishman
ry_lee
高階會員


發表:368
回覆:251
積分:123
註冊:2002-03-19

發送簡訊給我
#1 引用回覆 回覆 發表時間:2006-07-26 00:08:57 IP:61.225.xxx.xxx 未訂閱

我用quickrep及qrexprmemo及table三元件設計我的報表,設quickrep之page之columns為2,qrexprmemo之lines屬性主要是放table元件之欄位(有company,addr1,addr2,city,state,country),在預覽報表時,報表確實在一橫列顯示兩筆記錄資料,但記錄排列順序卻是如下:

-----------------------------------------------------------------------

第一筆記錄資料 第四筆記錄資料

第二筆記錄資料 第五筆記錄資料

第三筆記錄資料 第六筆記錄資料

--------------------------------------------------------------------------------

有什麼辦法讓報表顯示如下順序:

-----------------------------------------------------------------------

第一筆記錄資料 第二筆記錄資料

第三筆記錄資料 第四筆記錄資料

第五筆記錄資料 第六筆記錄資料

--------------------------------------------------------------------------------

編輯記錄
ry_lee 重新編輯於 2007-04-22 15:08:40, 註解 無‧
ry_lee 重新編輯於 2007-07-25 00:30:11, 註解 無‧
Fishman
尊榮會員


發表:120
回覆:1949
積分:2163
註冊:2006-10-28

發送簡訊給我
#2 引用回覆 回覆 發表時間:2006-07-27 10:03:07 IP:210.65.xxx.xxx 未訂閱

Hi ry_lee,

看來目前並沒有辦法透過設定即可達到你的需要,以下為官網FAQ文章的說明

Q. Is there a way to make QReports print columns Left to Right - Top to Bottom instead of Top to Bottom - Left to Right?
A. This is scheduled for a future QuickReport release. One work around would be to use multiple sets of TQRLabel controls on a single column detail band. You would call the report's dataset.next method in the detailband's BeforePrint event and assign the values to the TQRLabels. The QR3HLD4.ZIP demo project on our download page has example code for doing this.

文章中提到的範例程式,可到此下載

http://www.qusoft.com/stanlegacy.html

Fishman

------
Fishman
ry_lee
高階會員


發表:368
回覆:251
積分:123
註冊:2002-03-19

發送簡訊給我
#3 引用回覆 回覆 發表時間:2006-07-27 14:31:37 IP:218.163.xxx.xxx 未訂閱

fishman你好:

謝謝妳的幫忙

系統時間:2024-04-27 22:28:22
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!