Images and headers give a report a professional appearance. This interesting recipe will guide you to build a report with company images and headers. It is good to add a header and company logos for all reports which will be used outside the company; for example, purchase orders, vendor/customer account statements, and statutory reports.
To insert a header, right-click Insert | Header. In the header, add a textbox each for company name, page, date, and report name as shown in the following screenshot:
In the expression field of these controls, add the following code:
Controls
Code
Company name
=Microsoft.Dynamics.Framework.Reports. DataMethodUtility.GetFullCompanyNameForUser( Parameters!AX_CompanyName.Value, Parameters!AX_UserContext.Value)
Report name
="Batch Transactions Report"
Page
=System.String.Format(Labels!@SYS182566, "" & Globals!PageNumber & "", "" & Globals!TotalPages & "")
Date
=Microsoft.Dynamics...