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

TDateTimeField.origin是做什麼 ?

尚未結案
vivi666666
初階會員


發表:83
回覆:94
積分:35
註冊:2003-03-05

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-03-27 17:21:23 IP:203.133.xxx.xxx 未訂閱
example: HR_TIME:TDateTimeField; X :=HR_TIME.origin TDateTimeField.origin是做什麼 ? 定義為TDateTimeField要做什麼?
Justmade
版主


發表:94
回覆:1934
積分:2030
註冊:2003-03-12

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-03-27 17:41:27 IP:218.16.xxx.xxx 未訂閱
TField.origin : Indicates the name of the field in its original database table. Delphi syntax: property Origin: String; Description Origin is only assigned at design time by the Fields editor, and only when the field component is used by a TQuery object. The Origin property distinguishes the name of the field as it appears in its dataset from the name of the field in the base table on which it is based. For example, in a query that uses the following SQL statement, the value of Origin is CUSTOMER.CUSTNO. SELECT CUSTNO AS ID FROM CUSTOMER In this case, the FieldName property is ID. 就是該欄位在原始數據庫的欄位全名啦。
系統時間:2024-07-03 4:27:10
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!