How can l show print function on Preview Mode?

Hello,

I would like to show Print function on Preview mode but some reports have, some not.
How can l get through this issue?

Thank you for your help. :)

62lh0oqlfigb.jpg

Best Answers

Answers

  • vaprogvaprog Member Posts: 1,140
    zohaibu95 wrote: »
     CurrReport.PREVIEW; //you must have this statement in your code to able to print.
    

    For more reference have a look : https://msdn.microsoft.com/en-us/library/dd301398.aspx
    According to the contents of the given link, the comment in the code sample above should read:

    // you must have not execute this statement in your code to able to print from preview.

    The "not" is kind of important, the rest of my alteration rather nitpicky.
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    vaprog wrote: »
    zohaibu95 wrote: »
     CurrReport.PREVIEW; //you must have this statement in your code to able to print.
    

    For more reference have a look : https://msdn.microsoft.com/en-us/library/dd301398.aspx
    According to the contents of the given link, the comment in the code sample above should read:

    // you must have not execute this statement in your code to able to print from preview.

    The "not" is kind of important, the rest of my alteration rather nitpicky.


    sorry typo is occured i meant to comment it.
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
  • PanJPanJ Member Posts: 34
    thank you all for helping :)
  • PanJPanJ Member Posts: 34
    What if there is no any statement like CurrReport.PREVIEW in C/AL code?
    I cant see any statement look like this
Sign In or Register to comment.