Instead of using the if statement structure in order change the data that is being displayed in the tables -- which can get extremely unmaintainable depending on the complexity of the converting, are we able to harness a benefit of having an xaml based report by including and using a ValueConverter within the code of the report to accomplish this task?
Hi Aaron,
In addition to what Andrés pointed out, on 11.2 you will also be able use format strings for your labels, so that you do not need to fiddle with complex expressions or object data sources for labels that are meant to represent currencies, dates, or other similar information.
Regards,Héctor
The report format is not XAML. It's XML, but not XAML. When we say that that NetAdvantage Reporting is XAML-based we mean that the rendering engine and the designer is built in a way it can run in all XAML platforms, like Silverlight and WPF (yeah, not WinRT yet ;)).
We could have a converter model similar to XAML's, but it's not in the product today.
If you want to avoid having complex expressions, you can bind to an existing field in the DataSource. This is not possible for all properties in the CTP (only for the 'Text' one), but it will be for 11.2.
If you are binding to a SQL Data Source, you'll need to create a class that wraps the SQL results, add a property that returns the value you want, and use an ObjectDataSource pointing to that class.
Regards,
Andres