티스토리 뷰

Data.DB.TDataSet.State

Delphi

property State: TDataSetState read FState;

C++

__property TDataSetState State = {read=FState, nodefault};

Properties

TypeVisibilitySourceUnitParent
propertypublic
Data.DB.pas
Data.DB.hpp
Data.DBTDataSet

Description

Indicates / the current operating mode of the dataset.

Examine State / to determine the current operating mode of the dataset. 

State / determines / what can be done with data in a dataset, / such as editing existing records / or inserting new ones. 

The dataset state / constantly changes / as an application processes data.

Opening a dataset / changes State from dsInactive to dsBrowse. 

An application / can / call Edit / to put a dataset into dsEdit state, / or call Insert to put a dataset into dsInsert state. 

If a dataset / is a TTable or TClientDataSet object, / an application / can call SetKey or SetRange / to put the dataset into dsSetKey state.

Posting or canceling edits, insertions, or deletions, / changes / State / from its current state / to dsBrowse. 

Closing a dataset / changes its state to dsInactive.

Some states, / such as dsCalcFields, dsFilter, dsNewValue, dsOldValue, and dsCurValue / cannot be seen or set directly / by an application. 

These states / are automatically set / when OnCalcFields and OnFilterRecord events occur, / or when an application accesses certain field properties.


데이터 세트의 현재 작동 모드를 나타냅니다. 

State 를 검사하여 데이터 세트의 현재 작동 모드를 알아냅니다.

State 는 기존 레코드를 편집하거나, 새 레코드를 삽입하는 것과 같이 데이터 세트의 데이터로 수행할 수 있는지 알아냅니다.

데이터 세트 상태는 응용 프로그램이 데이터를 처리 할 때마다 계속 변경됩니다.

데이터 세트를 열면 State 가 dsInactive에서 dsBrowse로 변경됩니다.

응용 프로그램은 Edit 를 호출하여 데이터 세트를 dsEdit 상태로 만들거나, Insert 를 호출하여 데이터 세트를 dsInsert 상태로 놓을 수 있습니다.

데이터 세트가 TTable 또는 TClientDataSet 객체인 경우, 응용 프로그램은 SetKey 또는 SetRange를 호출하여 데이터 세트를 dsSetKey 상태로 놓을 수 있습니다.

편집, 삽입 또는 삭제, 게시 또는 취소는 State 를 현재 상태에서 dsBrowse로 변경합니다. 

데이터 세트를 닫으면 상태가 dsInactive로 변경됩니다.

dsCalcFields, dsFilter, dsNewValue, dsOldValue 및 dsCurValue와 같은 일부 상태는 응용 프로그램에서 직접 보거나 설정할 수 없습니다.

이러한 상태는 OnCalcFields 및 OnFilterRecord 이벤트가 발생하거나, 응용 프로그램이 특정 필드 속성에 액세스 할 때 자동으로 설정됩니다.


indicate 미국·영국 [|ɪndɪkeɪt]

1. (사실임・존재함을) 나타내다   2. (조짐・가능성을) 나타내다   3. (특히 간접적으로) 내비치다[시사하다]

examine 미국·영국 [ɪg|zӕmɪn]

1. 조사하다   2. 검사하다   3. (…에게) 시험을 실시하다

determine 미국식 [dɪ|t3:rmɪn]

1. 알아내다, 밝히다   2. (무엇의 방식・유형을) 결정하다   3. (공식적으로) 확정하다

such as 

1. 예를 들어 (…와 같은)   2. …와 같은

constantly 미국식 [|kɑ:nstəntli]

끊임없이; 거듭

occur 

미국·영국 |k3:(r)] 

1. 일어나다, 발생하다   2. (어디에) 존재하다

certain 미국식 [|s3:rtn]

1. 확실한, 틀림없는   2. 확신하는 3. 어떤, 무슨(구체적인 정보 없이 사람・사물 등을 언급할 때 씀)

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/Data.DB.TDataSet.State

'프로그래밍 언어 > Delphi' 카테고리의 다른 글

[Reference] TDataSet.CheckBrowseMode  (0) 2016.12.19
[Reference] TDataSet.Modified  (0) 2016.12.18
[Reference] TADOQuery.Prepared  (0) 2016.12.16
[Reference] TDataSet.SetFields  (0) 2016.12.14
[Reference] TDataSet.InsertRecord  (0) 2016.12.13
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함