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

如何更改FastReport裡數數的值

缺席
kuf41
中階會員


發表:14
回覆:45
積分:51
註冊:2006-12-03

發送簡訊給我
#1 引用回覆 回覆 發表時間:2010-02-22 15:48:39 IP:220.136.xxx.xxx 訂閱
我在Fastreport裡自訂了一個Cust_No的變數,
在Delphi可用frxReport1.Variables['Cust_No'] := 'XXX'去做更改

請問在Fastreport裡的[程式]編輯介面是否可更改他的值
得到值是可直接用XXX := [Cust_No] ..........可行(註:請把[]改為<>)
但想更動值卻一直出錯,編輯錯誤[Cust_No] := 'AAA' ..............錯誤(註:請把[]改為<>)
------
一切都為了明天
編輯記錄
kuf41 重新編輯於 2010-02-22 15:50:55, 註解 無‧
kuf41 重新編輯於 2010-02-22 15:52:51, 註解 括號<>出不來‧
chris681016
中階會員


發表:64
回覆:117
積分:96
註冊:2006-10-12

發送簡訊給我
#2 引用回覆 回覆 發表時間:2010-02-22 16:19:45 IP:211.75.xxx.xxx 訂閱
你只是要傳一個值進去報表而以嗎?
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><meta content="Word.Document" name="ProgId" /><meta content="Microsoft Word 9" name="Generator" /><meta content="Microsoft Word 9" name="Originator" /><link href="file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/msoclip1/01/clip_filelist.xml" rel="File-List" /><!--[if gte mso 9]><xml> Normal 0 0 2 </xml><![endif]--><style type="text/css"> <!-- /* Font Definitions */ @font-face {font-family:新細明體; panose-1:2 2 3 0 0 0 0 0 0 0; mso-font-alt:PMingLiU; mso-font-charset:136; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:3 137232384 22 0 1048577 0;} @font-face {font-family:"\@新細明體"; panose-1:2 2 3 0 0 0 0 0 0 0; mso-font-charset:136; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:3 137232384 22 0 1048577 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} h1 {mso-style-next:內文; margin-top:9.0pt; margin-right:0cm; margin-bottom:9.0pt; margin-left:0cm; mso-pagination:none; page-break-after:avoid; mso-outline-level:1; font-size:18.0pt; mso-bidi-font-size:26.0pt; font-family:Arial; mso-bidi-font-family:"Times New Roman"; mso-font-kerning:26.0pt;} h2 {mso-style-next:內文; margin:0cm; margin-bottom:.0001pt; mso-pagination:none; page-break-after:avoid; mso-outline-level:2; font-size:18.0pt; mso-bidi-font-size:24.0pt; font-family:Arial; mso-bidi-font-family:"Times New Roman"; mso-font-kerning:1.0pt;} p.MsoToc1, li.MsoToc1, div.MsoToc1 {mso-style-update:auto; mso-style-next:內文; margin:0cm; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc2, li.MsoToc2, div.MsoToc2 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:2.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc3, li.MsoToc3, div.MsoToc3 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:4.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc4, li.MsoToc4, div.MsoToc4 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:6.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc5, li.MsoToc5, div.MsoToc5 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:8.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc6, li.MsoToc6, div.MsoToc6 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:10.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc7, li.MsoToc7, div.MsoToc7 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:12.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc8, li.MsoToc8, div.MsoToc8 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:14.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoToc9, li.MsoToc9, div.MsoToc9 {mso-style-update:auto; mso-style-next:內文; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:16.0gd; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoCaption, li.MsoCaption, div.MsoCaption {mso-style-next:內文; margin-top:6.0pt; margin-right:0cm; margin-bottom:6.0pt; margin-left:0cm; mso-pagination:none; font-size:10.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; mso-font-kerning:1.0pt;} p.MsoTitle, li.MsoTitle, div.MsoTitle {margin:0cm; margin-bottom:.0001pt; text-align:center; mso-pagination:none; font-size:20.0pt; mso-bidi-font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:新細明體; color:red; mso-font-kerning:1.0pt;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} span.keyword10 {mso-style-name:keyword10;} span.number3 {mso-style-name:number3;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:1057624401; mso-list-type:hybrid; mso-list-template-ids:-194373018 1069712250 -2138014564 -362259380 1714951104 770757436 781623866 116578706 804444096 1694416764;} @list l0:level1 {mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l1 {mso-list-id:1351377238; mso-list-type:hybrid; mso-list-template-ids:-1024696166 1253338190 1909205558 -705782284 13518322 -1306604178 -1541252370 -673563158 -1404671720 346604334;} @list l1:level1 {mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} --> </style><span lang="EN-US" Times New Roman";">TfrxMemoView(frxReport1.FindObject('memo1')).memo.text:=Edit1.Text;
我這是fr3的~~
kuf41
中階會員


發表:14
回覆:45
積分:51
註冊:2006-12-03

發送簡訊給我
#3 引用回覆 回覆 發表時間:2010-02-22 16:24:54 IP:220.136.xxx.xxx 訂閱
沒有要傳值進去,和Delphi沒關係
------
一切都為了明天
系統時間:2017-10-19 20:54:06
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!