GotoBookMark method after using FilterSQL

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sergey_kln
Posts: 1
Joined: Thu 18 Dec 2008 13:00

GotoBookMark method after using FilterSQL

Post by sergey_kln » Thu 18 Dec 2008 13:26

When I call GotoBookMark method after using FilterSQL it doesn't work. What i do wrong?

Code: Select all

procedure Test;
VAR B: TBookmark;
      sql_Test : TMyQuery;
begin
  B:=sql_Test.GetBookmark;
  sql_Test.FilterSQL:='id='+sql_TestID.AsString;
  sql_Bill.GotoBookmark(B);
  sql_Bill.FreeBookmark(B);
end;

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 19 Dec 2008 13:04

I can not reproduce the problem. Please give a more detailed description of the problem.
Also try to compose a small sample to demonstrate it and send it to dmitryg*devart*com.

Post Reply