ComponentOne VSView Reporting Edition
Recordset Property

Sets or returns a Recordset object used as the report data source.

Syntax

dataSource.Recordset[ = object ]

Remarks

Normally, VSReport8 creates an ADO recordset based on the value of the ConnectionString and RecordSource properties. In this case, the recordset is handled internally by the control and you don't need to use the Recordset property in any way.

In some situations, however, you may prefer to provide a recordset directly to the control. You can do this by assigning the custom recordset to the Recordset property. In this case, VSReport8 uses the recordset you provided instead of creating one.

You can assign three types of recordset to the Recordset property: ADO, DAO, or custom.

ADO and DAO recordsets are standard objects that contain data extracted from traditional databases.

Custom recordsets are COM objects that you can implement to provide access to data that does not necessarily come from a traditional database. For example, your data may be stored in memory or it may be calculated dynamically.

In order to communicate with VSReport8, custom recordset objects must implement the IVSReportRecordset interface. For details on how to create a custom data source object, see the Custom Data Sources section of the documentation.

Data Type

Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback