The ISalReport type exposes the following members.

Methods

  NameDescription
Public methodClosePreview
Closes the preview window.
Public methodCreate
Creates a new dynamic report using the specified template. If the templates is null (default), the built-in template is used.
Public methodDoPreviewCommand
Executes the specified command on the preview window. The command code is one of the Sys.RPT_Cmd* constants.
Public methodExport
Exports the report to the specified file. The kind of export is inferred from the extension of the file.
Public methodGetReportVariable
Returns the value of the specified report variable.
Public methodPreview
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.
Public methodPrint
Prints the report.
Public methodReset
Regenerates the data set and refreshes the report.
Public methodSetReportVariable
Sets the value of the specified report variable.

Properties

  NameDescription
Public propertyDocumentName
Name of the printing document.
Public propertyFileName
The report file name.
Public propertyInputItems
List of bind input variables, separated by a comma.
Public propertyLastPageNumber
Returns the last page number.
Public propertyOwner
The owner control for the report. This is the control that receives the report's notifications.
Public propertyPrinterSettings
Returns the printer settings to use when printing the report.
Public propertyProgressCaption
Title of the progress dialog.
Public propertyProgressText
Text to show in the progress dialog. It can be up to two lines separated by a CRLF.
Public propertyReportDocument
Returns the underlying report object.
Public propertyTableWindowSource
TableWindow control to be used as the data source for the report.
Public propertyVariables
List of report variables, separated by a comma.
Public propertyViewer
Returns the current instance of the report viewer.

See Also