Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.12.04;
Скачать: CL | DM;

Вниз

Состояние AdoDataSet .   Найти похожие ветки 

 
Enzo_Matrix   (2005-10-19 10:21) [0]

Как узнать, в каком состоянии находится AdoDataSet? Мне, например, надо узнать, находится ли он в состонии EDIT. Как это можно осуществить?


 
stone ©   (2005-10-19 10:27) [1]

State


 
Enzo_Matrix   (2005-10-19 10:32) [2]

Ну да, а значения у него какие бывают? что-то типа dsEdit?


 
Johnmen ©   (2005-10-19 10:43) [3]

State + F1


 
Ega23 ©   (2005-10-19 10:43) [4]

Ну да, а значения у него какие бывают? что-то типа dsEdit?

А в хелп заглядывать не пробовал?


 
Enzo_Matrix   (2005-10-19 10:46) [5]

Ой как нам трудно написать слово да или нет, конечно намного проще написать "А в хелп заглядывать не пробовал?". Я задал конкретный вопрос и хотел получить конкретный ответ.


 
Johnmen ©   (2005-10-19 10:57) [6]

>Enzo_Matrix   (19.10.05 10:46) [5]

Есть такой мультик, в котором "двое из ларца одинаковых с лица".
А ты - тот самый Петя? :)))


 
Ega23 ©   (2005-10-19 10:58) [7]


TDataSetState type

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 can be 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 to indicate that a field component’s NewValue property is being accessed.
dsOldValue Temporary state used internally to indicate that a field component’s OldValue property is being accessed.

dsCurValue Temporary state used internally to indicate that a field component’s CurValue property is being accessed.
dsBlockRead Data-aware controls are not updated and events are not triggered when the cursor moves (Next is called).
dsInternalCalc Temporary state used internally to indicate that 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.


Удовлетворён?


 
Enzo_Matrix   (2005-10-19 11:00) [8]


> Удовлетворён?

Да, вполне. Спасибо


 
Johnmen ©   (2005-10-19 11:02) [9]

>Ega23 ©   (19.10.05 10:58) [7]

А ты - тот самый "из ларца" ?!
:)))


 
Ega23 ©   (2005-10-19 11:03) [10]


> Да, вполне. Спасибо


В хелпе более читабельно, между прочим. И ещё много полезного есть. И ТЫ сделать это мог гораздо быстрее, а также мог помочь мне не тратить траффик на всяких ламеров, которые ленятся F1 нажать.

З.Ы. Это был последний ответ тебе от меня на любой твой вопрос.


 
Ega23 ©   (2005-10-19 11:04) [11]


> А ты - тот самый "из ларца" ?!


Мороженое за него есть тоже я буду...  :о)


 
Enzo_Matrix   (2005-10-19 11:07) [12]


> З.Ы. Это был последний ответ тебе от меня на любой твой
> вопрос.


Ой блин испугал, "щас сотрусь".



Страницы: 1 вся ветка

Текущий архив: 2005.12.04;
Скачать: CL | DM;

Наверх




Память: 0.49 MB
Время: 0.048 c
2-1132333023
Дева
2005-11-18 19:57
2005.12.04
О фильтре


4-1128194544
ArtemESC
2005-10-01 23:22
2005.12.04
Topmost Окнa


14-1131609512
Asker
2005-11-10 10:58
2005.12.04
ограничить срок работы программы


1-1131374408
IgorOKey
2005-11-07 17:40
2005.12.04
Indy POP3: как сохранить приатаченный файл с русским именем


6-1124813937
Ricoshet
2005-08-23 20:18
2005.12.04
Отправка нескольких сообщений в СерверСокет