Setting number decimal / group separator
Hi,
in a report is possible to set number separators?
For example, in an italian report, I would like report uses always “," char
decimal separator and "." char group separator, independently of system
settings, or ReportBuilder settings, or other international settings.
Any idea?
Regars,
Davide
in a report is possible to set number separators?
For example, in an italian report, I would like report uses always “," char
decimal separator and "." char group separator, independently of system
settings, or ReportBuilder settings, or other international settings.
Any idea?
Regars,
Davide
This discussion has been closed.
Comments
ReportBuilder uses the Windows format settings by default. See the
following article on how this can be changed on a report-to-report basis.
http://www.digital-metaphors.com/rbWiki/Design/Formatting/Currency_Formatting
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
But from a report it is possible directly to access to and set delphi global
settings?
procedure ReportBeforePrint;
begin
DecimalSeparator := '.';
end;
Thanks,
Davide
"Nico Cizik (Digital Metaphors)" ha scritto nel messaggio
It is not currently possible to alter the Delphi FormatSettings directly
from RAP. You will need to create a pass thru function in order to
accomplish this.
See the RAP demos for examples of creating pass thru functions.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com