FrequentUser
Technical User
So I searched through past threads and didn't find an answer to this question.
I have several Running Totals which calculate the declared value of work to be performed for building permits, sorted by month.
Running Total Name: JulyRes [July Residential]
Field to Summarize: {APBLDG.DECLVLTN}
Type of Summary: Sum
Evaluate on: Formula
Month({APBLDG.ISSDTTM}) = 07 and
{@Res v Non-Res} = "RESIDENTIAL" AND
NOT({APDEFN.APTYPE} IN ["APPLIANCE", "ELECTRIC
C", "ELECTRIC R", "ELEVATOR", "LOWVOLTAGE", "MECH/GAS
C", "MECH/GAS R", "PLUMBING C", "PLUMBING R"])
Reset: Never
The returned values are always in the millions.
$83,000,000
However, I would like to only display
$83 (with a millions label to the side)
Does anyone know how to format a number field for this.
I can round to a million, and I have tried other formulas in Format Field > Rounding formula option:
if {#JulyRes} > 1000000 then
Left(ToText({#JulyRes}), 2)
but when refreshing I get error: "Bad formula result."
HELP please.
Crystal Reports XI, MSSQL 2000, ODBC
I have several Running Totals which calculate the declared value of work to be performed for building permits, sorted by month.
Running Total Name: JulyRes [July Residential]
Field to Summarize: {APBLDG.DECLVLTN}
Type of Summary: Sum
Evaluate on: Formula
Month({APBLDG.ISSDTTM}) = 07 and
{@Res v Non-Res} = "RESIDENTIAL" AND
NOT({APDEFN.APTYPE} IN ["APPLIANCE", "ELECTRIC
C", "ELECTRIC R", "ELEVATOR", "LOWVOLTAGE", "MECH/GAS
C", "MECH/GAS R", "PLUMBING C", "PLUMBING R"])
Reset: Never
The returned values are always in the millions.
$83,000,000
However, I would like to only display
$83 (with a millions label to the side)
Does anyone know how to format a number field for this.
I can round to a million, and I have tried other formulas in Format Field > Rounding formula option:
if {#JulyRes} > 1000000 then
Left(ToText({#JulyRes}), 2)
but when refreshing I get error: "Bad formula result."
HELP please.
Crystal Reports XI, MSSQL 2000, ODBC