how to get records selected on opening the page

sahilGupta
sahilGupta Member Posts: 1
HI Everyone,
i have a case, i have a list page which contains few items as list. now, by "select More" option on click on three dots on page (see screen shot)

1nblfvn7vi9o.png


and then i have selected multiple records and saved it.

now, i need whenever i open it again then selected records must be selected. then after, if i want uncheck or can check more . but whenever i open that page again then i am getting all the records are unchecked.

is there any way, to select records through coding?

Answers

  • kriki
    kriki Member, Moderator Posts: 9,127
    [Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • vaprog
    vaprog Member Posts: 1,173
    No, there is no way to do this (appart from {NOT recommended} using SendKeys).

    The classic client used to provide a user interface for placing marks on records. Programming functions are still available, only no UI anymore. But you can create an UI by adding a field with SourceExpr MARK and code in the OnValidate trigger to toggle the mark.
    Then you can save selected records however you like and "restore" using MARK(TRUE).