query狀態問題 |
尚未結案
|
mygod
一般會員 發表:52 回覆:64 積分:23 註冊:2002-09-10 發送簡訊給我 |
|
yenhorng
中階會員 發表:12 回覆:82 積分:94 註冊:2002-06-18 發送簡訊給我 |
|
T.J.B
版主 發表:29 回覆:532 積分:497 註冊:2002-08-14 發送簡訊給我 |
下面是delphi的heip
抱歉 貼的不好
但重點在紅色字的描述狀態的種類 Indicates the current operating mode of a dataset component. Unit DB type TDataSetState = (dsInactive, dsBrowse, dsEdit, dsInsert, dsSetKey, dsCalcFields, dsFilter, dsNewValue, dsOldValue, dsCurValue, dsBlockRead, dsInternalCalc, dsOpening); Description TDataSetState represents the values that may be in the State property of a dataset component. TDataSetState indicates the current operating mode of that dataset component. The following table lists all possible values in the TDataSetState type and describes what they indicate in the State property: Value Meaning dsInactive Dataset is closed, so its data is unavailable.
dsBrowse Data can be viewed, but not changed. This is the
default state of an open dataset.
dsEdit Active record can be modified.
dsInsert The active record is a newly inserted buffer that has
not been posted. This record can be modified and then
either posted or discarded.
dsSetKey TTable and TClientDataSet only. Record searching is
enabled, or a SetRange operation is under way.
A restricted set of data can be viewed, and no data
canbe edited or inserted. dsCalcFields An OnCalcFields event is in progress. Noncalculated
fields cannot be edited, and new records cannot be
inserted.
dsFilter An OnFilterRecord event is in progress. A restricted
set of data can be viewed. No data can edited or
inserted.
dsNewValue Temporary state used internally when a field components NewValue property is accessed.
dsOldValue Temporary state used internally when a field components OldValue property is accessed.
dsCurValue Temporary state used internally when a field components CurValue property is accessed. dsBlockRead Data-aware controls are not updated and events are not
triggered when moving to the next record.
dsInternalCalc Temporary state used internally when values need to
be calculated for a field that has a FieldKind of
fkInternalCalc.
dsOpening DataSet is in the process of opening but has not
finished.This state occurs when the dataset is
opened for asynchronous fetching. 回首來時路
也無風雨也無晴~~@.@
------
天行健 君子當自強不息~~@.@ |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |