全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1201
推到 Plurk!
推到 Facebook!

關於TField .....

 
w3top
一般會員


發表:12
回覆:13
積分:5
註冊:2002-04-28

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-06-18 23:47:24 IP:218.162.xxx.xxx 未訂閱
請教各問前輩 我如何在某一欄位的存檔前,先取的資料表內 的舊值來判斷,此時資料表處於Edit模式 謝謝大家
huwk
資深會員


發表:26
回覆:340
積分:323
註冊:2002-04-03

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-06-19 00:30:59 IP:210.85.xxx.xxx 未訂閱
Represents the original value of the field (as a Variant).    property OldValue: Variant;    Description    Read the OldValue property to examine or retrieve the original value of the field that was obtained from the dataset before any new values were written to the record buffer. For example, this code replaces current pending changes with a fields original value:    NewValue := OldValue;    Once records are posted successfully, the old field value cannot be retrieved.     Note:        the OldValue property is only usable when the data is accessed using a TClientDataSet component or cached updates is enabled.
引言: 請教各問前輩 我如何在某一欄位的存檔前,先取的資料表內 的舊值來判斷,此時資料表處於Edit模式 謝謝大家
------
熊的學習 http://huwk.blogspot.com
系統時間:2024-04-20 4:19:35
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!