Re: Помогите с DOA
От: chia Россия  
Дата: 09.06.03 09:46
Оценка:
Здравствуйте, Vsim, Вы писали:

V>Привет всем. Кто-нибудь работал с методами ApplayUpdates,

V>CommitUpdates, CancelUpdates компонента TOracleSession в Builder?
V>Дайте примерчик, а то не могу разобраться как они работают. В BDE
V>вроде все проще было.Спасибо.

procedure CommitUpdates(const DataSets: array of TOracleDataSet);

Description

Commits the cached updates of the datasets after calling ApplyUpdates with the Commit parameter set to False. The current database transaction will be committed and the change logs of the datasets will be cleared. If a dataset is a master in a master/detail relation, the updates in all detail datasets will be committed as well. Each dataset must have its CachedUpdates property set to True.


Вы пользуетесь кешированным апдейтом?
Если в этом необходимости нет, пользуйтесь Update, Commit на уровне DataSet'ов.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.