I'm using MyDAC 5 pro with Delphi7.
There is a Problem with TBookmark. It doesn't works after changing "Orderfiels".
I allway get the same RecNo??? (but my Record is an other one)
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
var BM: TBookmark;
begin
With MyTable1 Do Begin
BM:= GetBookmark;
ShowMessage(IntToStr(RecNo));
OrderFields:= 'Formel';
GotoBookmark(BM);
FreeBookmark(BM);
ShowMessage(IntToStr(RecNo));
end;
end;