Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Filter on Bookmarks??
Wed, Feb 1 2023 8:13 PMPermanent Link

Ian Branch

Avatar

Hi Team,
I am setting bookmarks on a number of records in a table.  Might be 1, might be 20.
I need then to be able to either..
a.  Go to the first bookmark and then iterate through each of the book marked records for processing; or
b.  Set a grid Filter using the Bookmarks so I can then use normal table navigation to do the same thing.

Help!  Thoughts/suggestions welcome.

Regards & TIA,
Ian
Wed, Feb 1 2023 9:40 PMPermanent Link

Ian Branch

Avatar

Hi Team,
Solved..
{code}
procedure TMainForm.btnScrapClick(Sender: TObject);
var
 nX: Integer;
begin
 SiMain.EnterMethod(Self, 'btnScrapClick');
 //
 for nX := 0 to JTGrid.SelectedList.Count - 1 do
 begin
   //
   JobTickets.GotoBookmark(TBookmark(JTGrid.SelectedList.Items[nX]));
   //
...
...
{code}

Regards,
Ian
Image