FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / StartReport Event

In This Topic
    StartReport Event (C1FlexReport)
    In This Topic
    Occurs when the report starts rendering, before it opens the datasources and checks parameters.
    Syntax
    'Declaration
     
    Public Event StartReport As EventHandler
    public event EventHandler StartReport
    Remarks

    You can use this event to provide user feedback or to make changes to the datasources 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 System.Data.DataTable object directly to the report's Recordset property. Applications that already have the report data should do this to save time by preventing C1FlexReport from loading its own copy of the data.

    See Also