Subject Re: [IBO] BookmarkValid. I think it's a bug.
Author Artur Anjos
Jason:

Pls take a moment to look at this!

Regards,

Artur
----- Original Message -----
From: Artur Anjos
To: IBObjects@yahoogroups.com
Sent: Monday, August 13, 2001 11:23 PM
Subject: [IBO] BookmarkValid. I think it's a bug.



I think that the implementation of BookmarkValid it's not ok for
IBOQuery (TDataSet).

If we do:

var
Bm : TBookmark;
Ts : Boolean;
begin
Bm := IBOQTest.GetBookmark;
Ts := BookmarkValid( Bm );
...

We got this results:
If CurrentRecord is BOF or anywhere else, Ts=False;
If CurrentRecord is EOF we Ts=True;

However, if we do GotoBookmark( Bm ) it works!

It must return True in all cases, don't it?

Regards,

Artur Anjos


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]