How to disable Preview and Print button, except Print to Excel in NAV 2013?

Dear all,
I would like to know, any possibility to disable Preview Button and Print Button, except Print to Excel?
Because I want to make only 1 option to print report with Excel.

Thank you.

Answers

  • pradipradi Member Posts: 15
    In the report there is a property called as Processing Only. Set it as Yes. Create a boolean field and attach it to the request page of the report. So when the boolean is ticked the report would run to open the excel file.
  • DuikmeesterDuikmeester Member Posts: 308
    Run the report with code:
    REPORT.SAVEASEXCEL(REPORT::50000,'My Report.xlsx',Rec)
    
  • Run the report with code:
    REPORT.SAVEASEXCEL(REPORT::50000,'My Report.xlsx',Rec)
    

    Thanks bro, but we need to do a code to design the layout with a few grouping.
    It is so hard to do.
    but thank anyway. :smile:
Sign In or Register to comment.