Subject RE: [IBO] Transaction question
Author Riho-Rene Ellermaa
> > 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.
>
>
> Does your Query include the FOR UPDATE clause, or is
> Query->RequestLive set to true ?

Yes
After Refresh() and First(), I get the values OK. When I call
InvalidateBookmark() and then try to access values, I get 0
Seems like my bookmark calling is wrong


> If your dataset is opend, DModul->QMQuery->Bookmark gives you
> the current record,
> so it should be valid !
>
> Are you using a TIB_Query or a TIB_Cursor ?

Query.

>
>
> Harald


Riho-Rene Ellermaa
senior programmer
Hansabank