Wednesday 17 July 2019

Nav 365 loop through the selected records

Hello Nav my first post ;)

//lSalesLine is a local record variable that points to "Sales Line" table.
CurrPage.SETSELECTIONFILTER(lSalesLine);
IF lSalesLine.FINDSET THEN
 REPEAT
   MESSAGE(FORMAT(lSalesLine));
 UNTIL lSalesLine.NEXT = 0;

No comments:

Post a Comment