C1.C1Report Namespace > C1Report Class : StartReport Event |
'Declaration Public Event StartReport As EventHandler
public event EventHandler StartReport
You can use this event to provide user feedback or to make changes to the DataSource.ConnectionString and DataSource.RecordSource properties.
For example, you may implement your own version of parameterized queries by asking the user to provide some information and changing the DataSource.RecordSource property accordingly.
You may also use this event to assign a System.Data.DataTable object directly to the report's DataSource.Recordset property. Applications that already have the report data should do this to save time by preventing C1Report from loading its own copy of the data.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2