Skip to main content

ISalReport

Namespace: PPJ.Runtime

Assembly: PPJ.Runtime.49 (4.9.0.0)

Interface to the report provider object.

public interface ISalReport

Properties

Instance memberDocumentName

String: Name of the printing document.

Instance memberFileName

String: The report file name.

Instance memberInputItems

String: List of bind input variables, separated by a comma.

Instance memberLastPageNumber

Int32: Returns the last page number.

Instance memberOwner

Control: The owner control for the report. This is the control that receives the report's notifications.

Instance memberPrinterSettings

PrinterSettings: Returns the printer settings to use when printing the report.

Instance memberProgressCaption

String: Title of the progress dialog.

Instance memberProgressText

String: Text to show in the progress dialog. It can be up to two lines separated by a CRLF.

Instance memberReportDocument

Object: Returns the underlying report object.

Instance memberTableWindowSource

SalTableWindow: TableWindow control to be used as the data source for the report.

Instance memberVariables

String: List of report variables, separated by a comma.

Instance memberViewer

Control: Returns the current instance of the report viewer.

Methods

Instance memberClosePreview()

Closes the preview window.

Instance memberCreate(file)

Creates a new dynamic report using the specified template. If the templates is null (default), the built-in template is used.

ParameterTypeDescription
fileString

Returns: Int32.

Instance memberDoPreviewCommand(command)

Executes the specified command on the preview window. The command code is one of the Sys.RPT_Cmd* constants.

ParameterTypeDescription
commandInt32

Instance memberExport(file, firstPage, lastPage, options)

Exports the report to the specified file. The kind of export is inferred from the extension of the file.

ParameterTypeDescription
fileString
firstPageInt32
lastPageInt32
optionsInt32

Returns: Int32.

Instance memberGetReportVariable(name)

Returns the value of the specified report variable.

ParameterTypeDescription
nameString

Returns: Object.

Instance memberPreview(parent, options)

Preview the report. The report viewer control is hosted in the specified parent. If the parent is null, a new top level form is created.

ParameterTypeDescription
parentControl
optionsInt32

Returns: Int32.

Prints the report.

ParameterTypeDescription
copiesInt32
firstPageInt32
lastPageInt32
optionsInt32

Returns: Int32.

Instance memberReset()

Regenerates the data set and refreshes the report.

Instance memberSetReportVariable(name, value)

Sets the value of the specified report variable.

ParameterTypeDescription
nameString
valueObject

Returns: Boolean.