Developing Word layout for RDLC reports
Besides an RDLC layout, a report can have a layout designed in MS Word specifically for the task of exporting the report into a Word document. A NAV report object can have two built-in layouts: one RDLC, and one Word layout.
Getting ready
The file name in the source files is REP50070_ItemSalesWordLayout.txt
.
The Word layout for the report is in Report50070Layout.docx
.
How to do it...
Now we will add a Word layout to the report created in the previous recipe.
Open report
50010
in the Report Designer, then save it as a new report50070 Item Sales Word Layout
.Create the built-in Word layout for the report: in the main menu, click Tools | Word Layout | New.
Export the layout into a Word file: click Tools | Word Layout | Export, then choose a file name for the layout file.
Open the file you saved in Step 3 in Microsoft Word.
To edit the Word report template, you will need access to the Developer ribbon tab. By default, it is hidden, so you'll need to show it. Right...