ReportQueue Class |
|
Namespace: VO
The ReportQueue type exposes the following members.
| Name | Description | |
|---|---|---|
| ReportQueue |
Construct a report queue.
|
| Name | Description | |
|---|---|---|
| ActiveFile |
The report definition file the Report Editor server was just using. This information can be used within an AppWindow:ReportNotification() method.
| |
| EventType |
One of the following constants representing an event:
Constant Description
REPORTCLOSEEVENT Current report has been closed.
REPORTCOMPLETEERROREVENT A print or export task has aborted.
REPORTCOMPLETEEVENT A print or export task has completed.
REPORTFILESAVEEVENT A report definition has been closed.
REPORTOPENEVENT Requested report has been opened.
REPORTSERVERCLOSEEVENT Report Editor has been closed.
REPORTVIEWCLOSEEVENT A report preview has been closed (but the report itself remains open).
It should be used only in any AppWindow:ReportNotification() method you add to your window class that owns this ReportQueue object.
| |
| Filename |
The name of the .RET file that defines the report. This access is unlikely to be used within the function that opened the report — as the file name string should already be local to the function. It would be useful if one method opens a report and another method needs to use that open file.
Note that this accesses the name of the report that is open when the next command method gets around to executing on the Report Editor, as opposed to the ReportQueue:ActiveFile which might be an earlier report now being processed by the Report Editor.
| |
| OpenIndex | ||
| OpenNames | ||
| Origin |
A point defining where the top left corner of the Report Editor window is shown, in canvas coordinates. The Report Editor is shown from this point downward. This is in contrast to the coordinate system used by X# applications, which consider their window's origin at the bottom-left corner and show windows in an upward direction.
| |
| owner |
The window that owns the ReportQueue object. This access allows code using a ReportQueue to call methods of the owner (ultimately derived from AppWindow).
| |
| ReportServer |
The Report Editor server currently in use by this ReportQueue. The value is set in the ReportQueue:Init() method.
| |
| Size |
A dimension representing the current size of the Report Editor window, in canvas coordinates.
|
| Name | Description | |
|---|---|---|
| Close |
Close a report.
| |
| CloseAll |
Close all reports.
| |
| ConnectToDB |
Connect to an ODBC data source.
| |
| DataUpdate |
Handle DataUpdateEvent, if one occurs. Provide this event handler in your derived ReportQueue class if you require special handling of events.
Important! You should neither attempt to call nor provide alternative implementations to this method. Instead, you can provide extra handling of events in your derived version of AppWindow:ReportNotification(). | |
| Edit |
Load a report into the Report Editor for editing.
| |
| Hide |
Hide the Report Editor window and icon so that they are not visible.
| |
| NEW |
Create a new report definition in the Report Editor for editing.
| |
| Open |
Open a report.
| |
| Preview |
Cause a report to be previewed on screen.
| |
Print a report to the Report Editor's selected printer.
| ||
| ReportExit |
Exit the Report Editor.
| |
| SaveToFile |
Save a report to the given file name.
| |
| SetPapersize |
Set the paper size for the report.
| |
| SetPrinterOrientation |
Set the printer orientation for the report.
| |
| SetReportQuery |
Set the query to be used for the report.
| |
| SetSQLFile |
Load an SQL query file as the active SQL query for the report.
| |
| SetSQLText |
Set a text string as the active SQL query for the report.
| |
| Show |
Minimize or maximize the Report Editor window.
|