In nav 2009 while run report firstly shows page and pop report preview on that page. In Nav 2016 i write same code but it not process same.
CurrPage.SETSELECTIONFILTER(SalesHdr); REPORT.RUNMODAL(REPORT::"Sales Planning",TRUE,FALSE,SalesHdr);
In nav 2016 my requirement is first show report preview and after ESC button press then need to show page.
Please help me...