Posted 4 April 2021, 7:06 pm ESTI have created a flexreport in a winform application. The flexreport uses tables from an ado.net dataset that contains 5 tables. The flexreport only uses two of the tables and are defined in the report as Main and Datasource1.
I have a form with a viewer and a button where the dataset gets filled and then I need to bind the tables to the report before I can view the report in the viewer.
I can bind the Main table using this line of code:
Me.C1FlexReport1.DataSource.Recordset = Dataset.table1
I can't figure out how to bind Dataset.table2 to the Datasource1 of the report in my code.