Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

ToText(Number) not using Locale ?

$
0
0

When using the Report Designer, I define a Formula field which formats a Number value using ToText(myvalue,10).

- I place this formula field on the report along with print date / time special fields

- the Print Preview displays the value with thousands and decimal separators relative to my default locale (French), date and time are formatted using this locale too.

- I switch the "Preferred Viewing Locale" to English (US), the Print Preview displays everything (date, time, number) with the new Locale.

- Exporting report to a text format file uses the correct locale

 

When exporting this same report with JRC, there is a strange behavior :

- When using locale en_US, everything is fine

- When using locale fr_FR (before opening the ReportClientDocument), only date and time are formatted using the fr_FR locale. The number is still formatted with en_US separators.

 

Did I do something wrong ?

 

Edited by: K G on Jun 19, 2008 5:35 PM


Viewing all articles
Browse latest Browse all 893

Trending Articles