Hi,
Does TDAMemDataTable support “Bookmark” property?
Hi,
yes, bookmarks are supported.
Hi,
I can’t using “damemdatatable.bookmark”. I can’t find any property about “bookmark”.
Hi,
odd, we use this code in our testsuite:
procedure TTestRbug6496.BookmarkTest(ATable: TDADataTable);
var
b: TBookmark;
i: integer;
id: integer;
begin
InitTable(ATable);
ATable.Last;
b := ATable.GetBookmark;
try
ATable.First;
CheckTrue(ATable.BookmarkValid(b), 'BookmarkTest: BookmarkValid');
ATable.GotoBookmark(b);
CheckTrue(ATable.RecNo = ATable.RecordCount, 'BookmarkTest: GotoBookmark');
finally
ATable.FreeBookmark(b);
end;
...
Hi,
Noted with thanks. I will try your solution later.