VSView Reporting Edition Reference > VSReport Control |
All of the properties, methods, and events for the VSReport control are listed below, and are documented in the following sections. Properties, methods, and events that apply only to this control, or that require special consideration when used with it, are marked with an asterisk (*). These are documented in later sections. For documentation on the remaining properties, see the Visual Basic documentation.
Properties
Returns or sets whether to cancel generation of the current report. |
|
Returns the current report's DataSource object. |
|
Returns or sets whether the control should process Windows messages while rendering reports. |
|
Returns the current report's Fields collection. |
|
*Font |
Returns or sets the default font for new fields. |
Returns the current report's Groups collection. |
|
Returns whether a report is currently being generated. |
|
Returns the current report's Layout object. |
|
Returns or sets the maximum number of pages allowed for a report. |
|
Returns or sets the VBScript handler for the OnClose event. |
|
Returns or sets the VBScript handler for the OnError event. |
|
Returns or sets the VBScript handler for the OnNoData event. |
|
Returns or sets the VBScript handler for the OnOpen event. |
|
Returns or sets the VBScript handler for the OnPage event. |
|
*Page |
Returns or sets the current page number. |
Returns or sets the name of the report. |
|
Returns the current report's Sections collection. |
|
Tag |
Stores any extra data needed for your program. |
Methods
Clears the current report. |
|
*Copy |
Copies all the information from an existing report object. |
Evaluates a VBScript expression in the current report context. |
|
Executes a VBScript statement in the current report context. |
|
Returns information from a report definition file. |
|
*Load |
Loads a report from an XML report definition file. |
Renders a report into a VSPrinter control. |
|
Renders a report into a file. |
|
Renders a report into a file and is thread-safe for use in ASP applications. |
Events
Fired when the control finishes rendering the report. |
|
Fired when an error occurs while rendering a report. |
|
Fired before the Section is formatted. |
|
Fired when the control starts rendering a report and the source recordset is empty. |
|
Fired when the control starts rendering the report, before it opens the source recordset. |
|
Fired when the control finishes rendering each page. |
|
Fired before the Section is printed (after it is formatted). |