Page 1 of 1

BookmarkValid does not work!

Posted: Sat 07 May 2005 16:34
by Ludek
Hi, I'm using SDAC 3.50.0.12 and getting trouble with bookmarks - GoToBookmarks fails although BookmarkValid returns "true"

following code:

b := MST.Getbookmark;
try
MST.Filter := ;
if MST.bookmarkvalid(b) then
MST.gotobookmark(b);
finally
MST.FreeBookmark(b);
end;

if the old record is filtered, the BookmarkValid returns true and then GoToBookmarks raises an exception (Record not found)
how do I make sure, that the followind GoToRecord won't fail? I really don't like

try
GoToBookmark
except
end;

:-(
(using BDE this code worked fine)
Please help! Thx.

Posted: Tue 10 May 2005 11:59
by Ikar
Thank you for information.
We reproduced your problem and fixed it. This fix will be included in the next SDAC build. It will be available in about three weeks.