Subject | RE: [IBO] Transaction question |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2001-03-23T12:55:06Z |
> > Second - when I use this:Yes
> >
> 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 ?
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 youQuery.
> the current record,
> so it should be valid !
>
> Are you using a TIB_Query or a TIB_Cursor ?
>Riho-Rene Ellermaa
>
> Harald
senior programmer
Hansabank