Date: Fri, 29 Mar 2024 00:47:29 -0700 (PDT) Message-ID: <1518342170.419.1711698449932@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_418_980882718.1711698449931" ------=_Part_418_980882718.1711698449931 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Run_Report facility allows for the creation of various file types, s= uch as PDF, HTML and RTF. This is accomplished through the use of keywords = in the Run_Report statement.
FILETYPE "filename"
Parameter | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FileType |
|
||||||||||||||||
Filename | For ARCHIVE files the name of the file to be sav= ed. |
For all others, the path and name of the file to be created.
Note: The PDFFILE and ARCHIVE filetypes are the only file th= at will be created with Heading and Footing information when the informatio= n is specified. All other filetypes will print the body of the data only.= strong>
Declare Subroutine= run_report stmt =3D 'LIST CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2 CITY' stmt:=3D ' STATE ZIP PHONE ARCHIVE "CUSTOMERS"' stmt:=3D 'Heading "@Customer Info ' stmt:=3D " 'L' Page 'PP'" stmt:=3D '"' Run_Report("",stmt) stmt =3D 'LIST CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2 CITY' stmt:=3D ' STATE ZIP PHONE CSVFILE "C:\CUSTOMERS.CSV"' stmt:=3D 'Heading "@Customer Info ' stmt:=3D " 'L' Page 'PP'" stmt:=3D '"' Run_Report("",stmt) stmt =3D 'LIST CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2 CITY' stmt:=3D ' STATE ZIP PHONE TXTFILE "C:\CUSTOMERS.TXT"' stmt:=3D 'Heading "@Customer Info ' stmt:=3D " 'L' Page 'PP'" stmt:=3D '"' Run_Report("",stmt) stmt =3D 'LIST CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2 CITY' stmt:=3D ' STATE ZIP PHONE RTFFILE "C:\CUSTOMERS.RTF"' stmt:=3D 'Heading "@Customer Info ' stmt:=3D " 'L' Page 'PP'" stmt:=3D '"' Run_Report("",stmt) stmt =3D 'LIST CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2 CITY' stmt:=3D ' STATE ZIP PHONE HTMLFILE "C:\CUSTOMERS.HTML"' stmt:=3D 'Heading "@Customer Info ' stmt:=3D " 'L' Page 'PP'" stmt:=3D '"' Run_Report("",stmt) stmt =3D 'LIST CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2 CITY' stmt:=3D ' STATE ZIP PHONE DHTMLFILE "C:\CUSTOMERS.DHTML"' stmt:=3D 'Heading "@Customer Info ' stmt:=3D " 'L' Page 'PP'" stmt:=3D '"' Run_Report("",stmt) stmt =3D 'LIST CUSTOMERS ID-SUPP COMPANY ADDRESS1 ADDRESS2 CITY' stmt:=3D ' STATE ZIP PHONE PDFFILE "C:\CUSTOMERS.PDF"' stmt:=3D 'Heading "@Customer Info ' stmt:=3D " 'L' Page 'PP'" stmt:=3D '"' Run_Report("",stmt)