Posted 14 September 2017, 7:13 pm EST
[activereports_archive]in my project some dataset columns have numeric types that must go through complex formatting that cannot be done with the built-in .NET ToString() type formats.
Up until now I have been doing the formatting when creating the dataset, storing formatted strings in the columns instead of the numeric values.
However, that is going to cause problems as the strings cannot be sorted or used in aggregate math operations so I would like to go back to storing the numerical values in the dataset. But then I need a way to format the values at “print time” Is there a way to run .net -based “formatting code” that can render the value stored in the data set column to the desired value to be printed?
I am thinking of a mechanism like the .NET winforms databinding’s events to format a property before it is shown in a control.
thanks.[/activereports_archive]