Options

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

  • Options
    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.
  • Options
    DuikmeesterDuikmeester Member Posts: 304
    Run the report with code:
    REPORT.SAVEASEXCEL(REPORT::50000,'My Report.xlsx',Rec)
    
  • Options
    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.