I have field ot type string, that may contain characters or numbers. If it is a number - I want print it in the report with thousands separator - ",". But formula, that I create:
If NumericText({pt_get_summary_report.DATA2}) Then
ToText({DATA2}, 3, ",", "."
Else
{DATA2}
gave me the "Too many arguments have been given to this function" error.
I tried
ToText({DATA2}, "#,###,###.000"
but with the same result.
I use Crystal Report 8.5.
Please help - what am I doing wrong?
If NumericText({pt_get_summary_report.DATA2}) Then
ToText({DATA2}, 3, ",", "."
Else
{DATA2}
gave me the "Too many arguments have been given to this function" error.
I tried
ToText({DATA2}, "#,###,###.000"
but with the same result.
I use Crystal Report 8.5.
Please help - what am I doing wrong?