Date: Fri, 29 Mar 2024 04:53:23 -0700 (PDT) Message-ID: <435154130.519.1711713203098@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_518_29218517.1711713203097" ------=_Part_518_29218517.1711713203097 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Runs Report Builder reports.
Run_Report (reportName,list_statement [,option= s])
The Run_Report subroutine has the following parameters.
Parameter | Description | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reportName | The report name. Use the entity name of the full= y-qualified entity id. | ||||||||||||||||||||||||||||||||||||||
list_statement | List statements may be passed to the function to= print reports. | ||||||||||||||||||||||||||||||||||||||
options | Optional. A space delimited string of additio= nal formatting options for reports.
|
Note: The reportName and list_statement parameters are mutua= lly exclusive.
The Run_Report function will execute using the active cursor, so a SELEC= T prior to a Run_Report call will use the results of the SELECT.
Appendix E: Run_Repo= rt Reference
Declare Subroutine= Run_report * Run an existing report rptName =3D 'MY_REPORT' Run_Report(rptName,'') * A simple list statement stmt =3D "LIST BOOKS TITLE AUTHOR BY-DSND AUTHOR" Run_Report('',stmt) * A simple list statement creating a PDF file stmt =3D "LIST BOOKS TITLE AUTHOR BY-DSND AUTHOR" Run_Report('',stmt,'PDFFILE C:\TEMP\MY_PDFILE.PDF') * Run an existing report to the printer with landscape orientation rptName =3D 'MY_REPORT' Run_Report(rptname,'','(P LANDSCAPE') * Run an existing report using a previously executed select. stmt =3D "SELECT BOOKS WITH AUTHOR [] 'CLANCY'" RList( stmt, 5, "", "", "" ) error =3D Get_Status( errCodes ) if error then Fsmsg( errCodes ) end else Run_Report( "MY_REPORT", "", "" ) end