Subject RE: [IBO] Transaction question
Author Riho-Rene Ellermaa
> This will also do it without setting BufferSyncronFlags !
> (More safe, i think)
>
>
> Query->RefreshKeys();
> Query->First();
>
> Query->InvalidateBookmark(Query->Query.Bookmark);
>
> if (Query->Status==1) {
> ....processing
> Query->Edit();
> Query("Status")->AsInterger=2;
> Query->Post();
> }
>
> Query->Next();
>

First, I get syntax error when using Query->Query.Bookmark. It's probably
your typo
Second - when I use this:
DModul->QMQuery->InvalidateBookmark(DModul->QMQuery->Bookmark);
DModul->QMQuery->Edit();
I get error "cannot edit current row". Looks like Bookmark is invalid. I
thought that it get defined automagicaly.

Riho-Rene Ellermaa
senior programmer
Hansabank