Link to home
Start Free TrialLog in
Avatar of maverickxx
maverickxx

asked on

formatting Crystal reports

If I have a field  value like 1000000 and I  want to show it in thousands
1000   how do I show it
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Creae a formula field as...

{table.field}/1000

Then use format field to set the number of decimal places.
Avatar of maverickxx
maverickxx

ASKER

Peter57r,
Is there a way  to  right click -> format field> the apply above formula . or do I have to create a separate formula .. I have at least 15 fields so Do I have to create formula for each one i.e 15 formulas?


I can't see any way you can do this via formatting.
You have to create a formula field for each one.
If you have a lot of fields, there is one thing to try.

Select them all
Right Click one of them
Click FORMAT FIELDS
CLick the COMMON TAB
Click the Formula Button to the right of DISPLAY STRING
Trunc(CurrentFieldValue /  1000)

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks mlmcc