ixActuateReport
- Class Member Functions
- Constructor
- Identifying And Finding Report Components
- Handling Parameter Sets
- Handling Parameters by Group
- Handling Parameters Individually
- Setting Print Characteristics
- Report Invocation
The ixActuateReport class is a class that connects to the components in the ARS environment. An ixActuateReport object:
To generate and print a report, you need to instantiate an ixActuateReport object, specify the name of the parameter file that contains the parameter set, and call the print() function of the object.
If you want to direct the output to a particular printer, or change any print characteristics, you can call the setPrinter() function before calling the print() function. If you need to examine or change a runtime parameter setting, you must call the fetchParmSet() function before calling the print() function.
To gain access to a single parameter in an open parameter set, you can call the getParmByName() function. This function returns an ixActuateParm object, representing the parameter. Using the member functions of the ixActuateParm object, you can inspect the property values, default value, and latest current value, and you can set a new current value.
The print() function automatically saves the parameter set before the report generation is launched (but you can call the saveParmSet() function explicitly, if desired).
Class Member Functions
Constructor
ixActuateReport(
parmFileName CHAR (*):NULL,
execFileName CHAR (*):NULL,
reportFileName CHAR (*):NULL)
Identifying And Finding Report Components
getParmFileName() RETURNING CHAR (*)
setParmFileName(parmFileName CHAR (*):NULL) RETURNING VOID
getExecFileName() RETURNING CHAR (*)
setExecFileName(execFileName CHAR (*):NULL) RETURNING VOID
getReportFileName() RETURNING CHAR (*)
setReportFileName(reportFileName CHAR (*):NULL) RETURNING VOID
getParmPath() RETURNING CHAR (*)
setParmPath(parmPath CHAR (*):NULL) RETURNING VOID
getExecPath() RETURNING CHAR (*)
setExecPath(execPath CHAR (*):NULL) RETURNING VOID
getReportPath() RETURNING CHAR (*)
setReportPath(reportPath CHAR (*):NULL) RETURNING VOID
getViewerPath() RETURNING CHAR (*)
setViewerPath(viewerPath CHAR (*):NULL) RETURNING VOID
getParmFileNumber() returning smallint
Handling Parameter Sets
fetchParmSet() RETURNING SMALLINT
saveParmSet() RETURNING SMALLINT
createParmSet() RETURNING SMALLINT
discardParmSet() RETURNING SMALLINT
Handling Parameters by Group
selectFirstGroup() RETURNING CHAR(*)
selectNextGroup() RETURNING CHAR(*)
getFirstParm() RETURNING ixActuateParm
getNextParm() RETURNING ixActuateParm
Handling Parameters Individually
getParmByName(parmName CHAR (*):NULL) RETURNING ixActuateParm
Setting Print Characteristics
setPrinter(printerName CHAR (*):NULL,
numCopies SMALLINT:1,
twoSided BOOLEAN:FALSE,
collate BOOLEAN:FALSE,
landscape BOOLEAN:FALSE,
scale INTEGER:100,
formName CHAR (*):NULL,
size SMALLINT:0,
length SMALLINT:0,
width SMALLINT:0,
color BOOLEAN:FALSE) RETURNING SMALLINT
setWinPrinter() RETURNING SMALLINT
Report Invocation
generate(wait BOOLEAN: FALSE) RETURNING SMALLINT
view(browseOnly BOOLEAN: FALSE) RETURNING SMALLINT
print(printOnly BOOLEAN: FALSE) RETURNING SMALLINT
startTrack() RETURNING VOID
stopTrack() RETURNING VOID
getVersion() RETURNING CHAR
Return to Table of Contents.