title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
WordLayout Property |
Sets the Word layout that is used on a report and returns it as a data stream. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 1.0.
Sets the Word layout that is used on a report and returns it as a data stream.
- Report
- Report Extension
[!INCLUDEpossible_layouts_note]
The Word file must be in the same folder as the AL object.
[!INCLUDEsingle_layouts]
The following example shows how to use this property to generate the MyWordReport.docx file.
pageextension 50100 MyExtension extends "Customer List"
{
trigger OnOpenPage();
begin
report.Run(Report::MyWordReport);
end;
}
report 50124 MyWordReport
{
DefaultLayout = Word;
WordLayout = 'MyWordReport.docx';
}
Creating a Word Layout Report
RDLCLayout Property
Creating an RDL Layout Report