Bug GotoBookMark with Filter

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
luapfr
Posts: 37
Joined: Thu 11 Apr 2013 13:11

Bug GotoBookMark with Filter

Post by luapfr » Fri 09 May 2014 03:25

Bug GotoBookMark with Filter

This code below does not work
But with the TClientDataSet works perfect
then believe to be a bug in IBDac 5.3.7


procedure TForm1.Button2Click(Sender: TObject);
begin
IBCQuery2.Filtered := False;
IBCQuery2.Filter := 'CODIGO = ''1000''';
IBCQuery2.Filtered := True;
end;


procedure TForm1.Button4Click(Sender: TObject);
Var vRegistro : TBookmark;
begin
vRegistro := IBCQuery2.GetBookmark;
IBCQuery2.Filtered := False;
IBCQuery2.Close;
IBCQuery2.Open;

// He can not find the record
if IBCQuery2.BookmarkValid(vRegistro) Then
IBCQuery2.GotoBookmark(vRegistro);
end;

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Bug GotoBookMark with Filter

Post by PavloP » Mon 12 May 2014 13:01

Thank you for the information.
We have reproduced the problem and investigation is in progress.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Bug GotoBookMark with Filter

Post by ViktorV » Thu 23 Apr 2015 11:39

We have fixed this issue, the fix will be included in the next IBDAC build.

Post Reply