TOracleDataSet : BookmarkValid but bookmark not found

SteLal

Member
Windows NT / Oracle 8i / BCB5 / DOA 3.3.2

I get a bookmark of a record in a TOracleDataSet.

I delete this line (Delete())

When I ask "BookmarkValid", the DataSet answers TRUE, but if then I try to "GotoBookmark", it fails on "Bookmark not found (recno)"

BookmarkValid isn't supposed to be up to date when a line is deleted ?

------------------
-------------------
St
 
BookmarkValid does indeed always return True. We will fix this for 3.4. A possible (and very obvious) workaround is to handle the exception generated by GotoBookmark.

------------------
Marco Kalter
Allround Automations
 
Back
Top