Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread BookmarkValid
Fri, Sep 19 2008 5:27 AMPermanent Link

Heiko Knuettel
Hi !

Question : Can I rely on the result of TEDBTable/Query.BookmarkValid ? That means, if this
functions returns true, does an following GotoBookmark absolutely has to work ?

I'm sometimes getting an "row no longer visible in the table xy" or "record not found"
error after a "if BookmarkValid then GotoBookmark"...

Heiko
Fri, Sep 19 2008 6:59 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Heiko,

<< Question : Can I rely on the result of TEDBTable/Query.BookmarkValid ?
That means, if this functions returns true, does an following GotoBookmark
absolutely has to work ? >>

No, there are never any guarantees since another user could change that row
between the BookmarkValid and GotoBookmark calls.

<< I'm sometimes getting an "row no longer visible in the table xy" or
"record not found" error after a "if BookmarkValid then GotoBookmark"... >>

Row visibility errors don't occur during a navigation operation, rather only
when trying to update a row that has "disappeared" due to the active
filter/WHERE clause causing it to no longer be visible.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image