Posted 2 September 2026, 4:52 am EST
Hi Gerardo,
1. For Migration
SectionReports and RDLX reports are architecturally very different, so direct migration to RDLX may require manual changes.
To migrate your Code-Based SectionReport to RDLX, you’ll first need to save your SectionReport as an XML (.RPX) report. You can do this by using the ‘SectionReport.SaveLayout’ method.
You can learn more about saving a report as RPX here: Save Section Reports.
Then you can use the ActiveReports Import tool to convert RPX files to RDLX. You can find the import tool at “C:\Program Files (x86)\MESCIUS\ActiveReports 20\Imports\ActiveReports.Imports.Win.exe”.
You can learn more about it here: Importing SectionReport.
You can choose a banded layout in RDLX reports to have a similar architecture to your SectionReport.
Do note: As RDLX reports are not event-based, any custom script gets lost in the migration process.
2. Runtime DataSource
To use your DataTable as a DataSource for an RDLX report and SubReports, you’ll need to handle the ‘LocateDataSource’ event of the parent report and assign your DataTable to the ‘args.Data’ property.
You may learn more about it here: DataSet Provider.
Please find attached a sample implementing the same for your reference.
Regards,
Anand
RuntimeDataSource.zip