Running Reports

After you design a report's dataset and layout, you can make it available in Microsoft Dynamics NAV client applications. For example, you can add a report to the Report tab of a page. When you preview a report from a client computer, the report is displayed using Report Viewer.

The following table describes where to find information about how to run reports.

To See

Learn how to add a report to a client page.

How to: Make a Report Available from a Page

Learn about how to run reports from Object Designer, a client, or at a command prompt.

How to: Run Reports

Report Viewer

The ReportViewer controls included with Visual Studio 2012 and Visual Studio 2013 allow reports to be embedded in Microsoft Dynamics NAV client applications. The ReportViewer controls are installed automatically on the following:

  1. Client computer, for viewing reports from the Microsoft Dynamics NAV client.

  2. Microsoft Dynamics NAV Server, for using the SAVEASEXCEL and SAVEASPDF functions.

  3. Computer running the development environment, for compiling reports.

The ReportViewer controls included with Visual Studio 2012 and Visual Studio 2013 prevent code expressions in hidden items on a report from being evaluated. We recommend that you eliminate code expressions from hidden items on reports.

In Microsoft Dynamics NAV 2009, when you redesigned Classic reports as client report definition (RDLC) reports, in some cases, you may have created hidden text boxes in the body of a report so that in the RDLC layout, you could reference that report item in the header or footer of the report. In Microsoft Dynamics NAV 2016 you do not have to create hidden text boxes in order to reference an item in a header or footer because the RDLC version allows data-bound fields in headers and footers. Additionally, if the hidden text boxes that you added had code expressions, then they may not be evaluated by the ReportViewer controls that are used in Microsoft Dynamics NAV 2016. We recommend that you move these data-bound fields out of the hidden items. For example, you may be able to move the code expression from the hidden text box to the Visibility property of the text box. For more information, see How to: Print Report Header Information on Multiple Pages.

See Also

Concepts

Defining the Report Dataset
Designing Report Layouts from the Microsoft Dynamics NAV Development Environment