上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
jepp
註冊時間: 2006-03-03 文章: 30
第 1 樓
|
發表於: 星期六 六月 03, 2006 7:57 am 文章主題: Modify report 如何顯示報表控制項工具列? |
|
|
當程式編譯成exe檔後,modify report 不會顯示報表控制項工具列,
也就無法修改標籤,請問該如何讓它show出來?
(在6.0環境中) |
|
回頂端 |
|
 |
215001
註冊時間: 2003-06-11 文章: 393
第 2 樓
|
發表於: 星期六 六月 03, 2006 1:54 pm 文章主題: |
|
|
試看看:
把 Foxuser.dbf 及 Foxuser.dpt 這兩個檔案刪除掉 |
|
回頂端 |
|
 |
jepp
註冊時間: 2006-03-03 文章: 30
第 3 樓
|
發表於: 星期六 六月 03, 2006 8:16 pm 文章主題: |
|
|
215001 寫到: | 試看看:
把 Foxuser.dbf 及 Foxuser.dpt 這兩個檔案刪除掉 |
加上 set sysmenu to default 後,
在自己練習作的可以了!
可是真正加到系統中時,不知什麼原因,只有報表工具會出來,
報表不會顯示出來。
不知和下面設定有無關係?
set talk off
set dele on
set exact off
set conf off
set safe off
set bell off
set status bar off
set multilock on
set date to american
set century on
我再試試看! |
|
回頂端 |
|
 |
215001
註冊時間: 2003-06-11 文章: 393
第 4 樓
|
發表於: 星期三 六月 07, 2006 1:48 pm 文章主題: |
|
|
1.試看看: 把 Foxuser.dbf 及 Foxuser.dpt 這兩個檔案刪除掉
2.直接用滑鼠點: "報表控制項工具列" 按鈕 |
|
回頂端 |
|
 |
jepp
註冊時間: 2006-03-03 文章: 30
第 5 樓
|
發表於: 星期四 六月 08, 2006 4:19 pm 文章主題: |
|
|
感謝大大~ 我已經試出來了。
可是,我只要有預覽報表,或是關掉工具列,
就必須再把 foxuser.dbf 刪掉。有辦法解法這問題嗎?
目前我是朝向 show WINDOW '工具列' 方向測試 |
|
回頂端 |
|
 |
215001
註冊時間: 2003-06-11 文章: 393
第 6 樓
|
發表於: 星期四 六月 08, 2006 8:53 pm 文章主題: |
|
|
那就用第2種方法啊
2.直接用滑鼠點: "報表控制項工具列" 按鈕 |
|
回頂端 |
|
 |
jepp
註冊時間: 2006-03-03 文章: 30
第 7 樓
|
發表於: 星期四 六月 08, 2006 9:25 pm 文章主題: |
|
|
215001 寫到: | 那就用第2種方法啊
2.直接用滑鼠點: "報表控制項工具列" 按鈕 |
若使用者把 "報表控制項工具列" 拖出來關掉之後,再重新進入系統,
工具列就不會出來了,必須再把 foxuse 那兩個檔刪掉 |
|
回頂端 |
|
 |
215001
註冊時間: 2003-06-11 文章: 393
第 8 樓
|
發表於: 星期五 六月 09, 2006 9:20 am 文章主題: |
|
|
215001 寫到: | 那就用第2種方法啊
2.直接用滑鼠點: "報表控制項工具列" 按鈕 |
請參考上面的圖片,點選 紅色鍵頭所指處的 "報表控制項工具列" 按鈕 即可顯示 |
|
回頂端 |
|
 |
jepp
註冊時間: 2006-03-03 文章: 30
第 9 樓
|
發表於: 星期五 六月 09, 2006 9:33 am 文章主題: |
|
|
215001 寫到: | 215001 寫到: | 那就用第2種方法啊
2.直接用滑鼠點: "報表控制項工具列" 按鈕 |
請參考上面的圖片,點選 紅色鍵頭所指處的 "報表控制項工具列" 按鈕 即可顯示 |
大大,您試試把 "報表控制項工具列" 拉出上方工具列,會出現X,可以關掉,
(簡單說就是使用者把紅色鍵頭指的工具列關掉)
關掉之後,重新進入系統,工具列就不會出現了。必須再把foxuser那兩個檔刪掉)
我目前做法是。在 modify report 之前,下update 指令把 foxuser.dbf內data的值清空。可達成每次進入都能出現工具列,但還在測試是否會有其他副作用.
總之謝謝你! |
|
回頂端 |
|
 |
syntech
註冊時間: 2003-05-16 文章: 4249 來自: Taipei,Taiwan
第 10 樓
|
發表於: 星期五 六月 09, 2006 11:43 am 文章主題: |
|
|
把 FOXUSER.DBF 及 FPT 設為 READONLY 不就得了 _________________ 如果公司有下列困擾:
1. 找不到便宜,快速,簡易的 生產排程軟體
2. 不知道如何快速排定 採購計劃
3. 成本抓不準,自己算比軟體算有用
4. 想學習系統規劃,想找系統架構的顧問
請聯絡我們,也許我們幫得上忙 |
|
回頂端 |
|
 |
jepp
註冊時間: 2006-03-03 文章: 30
第 11 樓
|
發表於: 星期五 六月 09, 2006 2:20 pm 文章主題: |
|
|
syntech 寫到: | 把 FOXUSER.DBF 及 FPT 設為 READONLY 不就得了 |
I 服了U |
|
回頂端 |
|
 |
syntech
註冊時間: 2003-05-16 文章: 4249 來自: Taipei,Taiwan
第 12 樓
|
發表於: 星期五 六月 09, 2006 5:42 pm 文章主題: |
|
|
M$ 強力推薦, 祇是你沒查過MSDN而已
KB138969
How To Include Report Toolbars in a Distributed Application
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B138969
------------------
Method One
Toolbar state information is stored in the Foxuser resource file. Whenever a report is modified or created in the design environment and the report toolbars are open when that report is saved, the state of the toolbars is written to the Foxuser file.
NOTE: The Toolbars submenu is not available until a report in actually open. If you go to the View menu and try to select Toolbars, it is dimmed out if nothing is open in modify mode.
When you use this method to ensure that report toolbars are available from within the application, you must meet these conditions:
1.You must have modified or created a report in the design environment with one or both report toolbars open.
2.You must then save the report. This will save the state of the report toolbars.
3.The Foxuser resource file must be distributed with your application.
The resource file must be either built into your application or marked as read-only. If it isn't, when the report is modified, the toolbars closed, and the report saved, the state of the toolbars will also be saved. As a result, because the toolbars are now closed, there is no direct way to re-open them from within your application. By marking the resource file read-only, if the user should close the toolbars, the resource file will not be updated with the new state of "closed." _________________ 如果公司有下列困擾:
1. 找不到便宜,快速,簡易的 生產排程軟體
2. 不知道如何快速排定 採購計劃
3. 成本抓不準,自己算比軟體算有用
4. 想學習系統規劃,想找系統架構的顧問
請聯絡我們,也許我們幫得上忙 |
|
回頂端 |
|
 |
|