Posted 1 April 2020, 5:19 am EST
Hello All,
anyone has experience to set the properties of the DataSource of an C1FlexReport as dataSource from a structured XML file and keep using the RecordSource as a SQL Select Statement.
the issue is when at design time of the Flex Report, we make use of a snapshot of the data as OLEDB DataProvide with all the data available. we set the RecordSource as a SQL Query.
at RunTime, we expect to supply the data as an XML file and we would like to keep the RecodSource inchanged.
Is it possible
DataSource>
<Name>Main</Name>
<DataProvider>OLEDB</DataProvider>
<ConnectionString>Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\DataSources\Data_01.accdb;Persist Security Info=False;</ConnectionString>
<RecordSource>SELECT a.*, b.*
FROM a INNER JOIN b ON a.a_Id = b.a_Id
</RecordSource>
</DataSource>