Posted 15 May 2019, 2:06 pm EST
We are early in testing\evaluating the FlexReport\FlexViewer controls as a replacement for Crystal Reports (CR) for Winform applications.
Our methodology has been to create a generic report definition based upon a dataset\data table and have the application pass the recordset to the report.
In the CR environment, the report objects\definitions become incorporated in the .EXE. It appears with C1FlexRpt the FLXR report definition files will need to be included as external files on a user’s workstation.
Is there away to compile the FLXR report definition in the .EXE file?
Example Implementation below:
....
<Build dataset in application>
....
Dim dt As New DataTable
dt = ds.Tables("rptResults")
'load report definition ::
[b] 'Q: Is this required to be distributed as a separate file external from the application .exe?[/b]
Me.c1FlexRpt01.Load("\rptsApp.flxr", "Report Name 01")
' use DataTable as the data source
Me.c1FlexRpt01.DataSource.Recordset = dt
' preview the report
Me.c1FlexViewer01.DocumentSource = c1FlexRpt01

