Fired when the control starts rendering the report, before it opens the source recordset.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public event EventHandler StartReport
Visual Basic
Public Event StartReport As EventHandler

Remarks

You can use this event to provide user feedback or to make changes to the ConnectionString and RecordSource properties.

For example, you may implement your own version of parameterized queries by asking the user to provide some information and changing the RecordSource property accordingly.

You may also use this event to assign a DataTable object directly to the report's 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.

See Also