Skip to Content
Oct 31, 2019 at 03:58 PM

Change mapping of DataDefinitionFields with .NET API



I want to change the Datasource of a Report.
I am changing the driver from Btrieve to SQL-Server.

This ist possible.

But many of the Table Names and Column Names are different between Btrieve and SQL-Server. So I want to change them via the .NET API.

For the Table Names it works, but I found no way to map the DataDefinitionFields (columns).
I tried to directly manipulate the Name property of the DataDefinitionFields, but this has no setter.
Also the FieldMapping event is not raised, instead all fields that cannot be mapped automatically are removed from the report.

Is there any way to achive this with the API, or do I have to make this manually with the Designer?

Thanks in advance.