Saves a report as an HTML file. We recommend that you use a browser that supports at least HTML version 3.0 for viewing the file.
[Ok :=] Report.SAVEASHTML(Number, FileName [,SystemPrinter] [, Rec]) [Ok :=] Report.SAVEASHTML(FileName) |
Parameters
- Number
-
Type: Integer
The ID of the report that you want to run. On the View menu, click C/AL Symbol Menu to select the report from a list.
- FileName
-
Type: Text
The path and name of the file that you want to save the report as.
- Record
-
Type: Record
Specifies which record to use in the report. Any filters that have been applied to the record that you specify will be used.