Skip to main content

NAV 2013 Report Header Doesn't get Printed.

Hi all,

During working on NAV 2013 Report, i faced an issue. The issue was weird so i thought sharing same with all of you.

I created a report with all the same techniques that we used to use till NAV 2009 R2. Everything was fine and was previewing fine.

Just for your information while creating Report Header and Footer i used GetData and SetData as we used till now.



The preview was great, then i thought to print report in Printer/Excel/Word/PDF Format.

But to my surprise the report header and footer was Blank in all the above mentioned formats.

I was looking for solution for next 4 hours but was unable to find same, then i look in standard report and tried to find difference in SETDATA and GETDATA in NAV 2013 than NAV 2009.

Finally i was able ti find resolution.

PROBLEM -

Report Header is not getting printed while trying to print report in Printer / Excel / Word and PDF Format.

RESOLUTION -

1) Design Report 407.
2) Open Layout.
3) In the Header open the textbox property top left box.
4) You will find nothing under Value in General Tab.
5) Now navigate to Visibility Tab and you will find an expression.
6) Open the expression and you will find Code.SetData there.
7) Do these changes in your Report and it should work, Put the expression in visibility instead of value.

* worked for me, should work for you. :)

Follow the steps as shown below for SETDATA.



Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing -