Page 1 of 1

Bug GotoBookMark with Filter

Posted: Fri 09 May 2014 03:25
by luapfr
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;

Re: Bug GotoBookMark with Filter

Posted: Mon 12 May 2014 13:01
by PavloP
Thank you for the information.
We have reproduced the problem and investigation is in progress.

Re: Bug GotoBookMark with Filter

Posted: Thu 23 Apr 2015 11:39
by ViktorV
We have fixed this issue, the fix will be included in the next IBDAC build.