Yep this is something which I too have faced around 2 years before, please do as mentioned above and cross verify if you have certain code like this in your Report.
Yep this is something which I too have faced around 2 years before, please do as mentioned above and cross verify if you have certain code like this in your Report.
Answers
You have to comment the code containing CurrReport.PREVIEW
For more reference have a look : https://msdn.microsoft.com/en-us/library/dd301398.aspx
Please verify my answer if its help.
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
// 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.
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
I cant see any statement look like this