Posted 11 December 2017, 10:24 am EST
Hi,
I’m creating FlexReport using FlexReport Designer.
I want to change the CurrencySymbol according to the parameter value.
for example,
parameter is “USD” => $
parameter is “EUR” => €
Regards,
Richard
Forums Home / ComponentOne / WinForms Edition
Posted by: ejbang on 11 December 2017, 10:24 am EST
Posted 11 December 2017, 10:24 am EST
Hi,
I’m creating FlexReport using FlexReport Designer.
I want to change the CurrencySymbol according to the parameter value.
for example,
parameter is “USD” => $
parameter is “EUR” => €
Regards,
Richard
Posted 12 December 2017, 1:48 am EST
Hello Richard,
You can set the Culture of the report based on the value of a parameter which represents a particular culture.
Set in report.OnOpen:
Report.Culture=prmCurrency.Value
where prmCurrency has two values in the AllowedValuesDefinition that represent the respective cultures.
A report has been attached for your reference.
Best Regards,
Esha
Parameters.zip
Posted 13 December 2017, 10:34 am EST
Hello Esha,
Thank you for your support.
Best Regards,
Richard