關於TField ..... |
|
w3top
一般會員 發表:12 回覆:13 積分:5 註冊:2002-04-28 發送簡訊給我 |
|
huwk
資深會員 發表:26 回覆:340 積分:323 註冊:2002-04-03 發送簡訊給我 |
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 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |