Subject | RE: [IBO] Transaction question |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2001-03-23T12:33Z |
> This will also do it without setting BufferSyncronFlags !First, I get syntax error when using Query->Query.Bookmark. It's probably
> (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();
>
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