| Reporting API Functions / Functions to change reporting options | |
This BDL code segment uses the fgl_report_selectDevice function to change the output device to "PDF":
IF fgl_report_loadCurrentSettings(r_filename) THEN -- load the 4rp file
-- and continue if successful
CALL fgl_report_selectDevice("PDF") -- change to PDF
LET handler = fgl_report_commitCurrentSettings() -- commit changes
ELSE
EXIT PROGRAM
END IF