Subject Re: [IBO] Report Builder / IBO
Author Mike Combellack
Jason:

This certainly solves the specific problem I was having, with Report Builder
not maintaining the curent record. With your suggested change, it now
performs correctly.

Perhaps Artur Anjos, who I believe researched the problem in more depth,
will confirm if it also now works correctly for him.

Regards, and thank you.

Mike Combellack


""Jason Wharton"" <jwharton@...> wrote in message
news:11d801c1260a$499ae160$a9c90118@CX170673E...
> Oops, scratch that...
>
> This is what it should be.
>
> function TIBODataset.BookmarkValid( ABookmark: TBookmark ): Boolean;
> var
> BS: string;
> ANodeRef: TIB_NodeRef;
> begin
> Result := false;
> if Assigned( ABookmark ) then
> begin
> Result := true;
> SetLength( BS, BookmarkSize );
> Move( ABookmark^, BS[1], BookmarkSize );
> InternalDataset.KeyFields.RowData := BS;
> if InternalDataset.NodeList.LookupNode( KeyFields.RowBuffer,
> true,
> ANodeRef ) then
> Result := not (( rfDeleted in ANodeRef.Node.RowFlags ) and
> ( InternalDataset.NodeList.FilterDel )) and
> not (( rfFiltered in ANodeRef.Node.RowFlags ) and
> ( InternalDataset.NodeList.Filtered ));
> end;
> end;
>
> Regards,
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>