J
John Dice
I need help creating a complex format property for a
number. I want the the number to display on the report
exactly as I entered it on the form (i.e., General format)
but I also want positive values to appear in black and
zero values to appear as white (they would be invisible)
when printed.
I previously did this as:
0.0#;;#[White] or
0.##;;#[White]
However, this is a medical database and new medical
regulations require that whole numbers not have trailing
decimal places (i.e., "1" is allowed but not "1.0") and
decimal numbers must have a preceding zero but no trailing
zeros (i.e., "0.5" is allowed but not ".5" or "0.50").
My formatting options above work great for the decimal
values but "1" will display as either "1.0" (prohibited)
or "1." (usable but may be confusing). Common values that
I use for this database are "1" "0.5" and "0.25" and I
need these values to display exactly like this. And I
need to make zero values hidden (using [white] as I did
above or another method).
Any help would be appreciated.
John
number. I want the the number to display on the report
exactly as I entered it on the form (i.e., General format)
but I also want positive values to appear in black and
zero values to appear as white (they would be invisible)
when printed.
I previously did this as:
0.0#;;#[White] or
0.##;;#[White]
However, this is a medical database and new medical
regulations require that whole numbers not have trailing
decimal places (i.e., "1" is allowed but not "1.0") and
decimal numbers must have a preceding zero but no trailing
zeros (i.e., "0.5" is allowed but not ".5" or "0.50").
My formatting options above work great for the decimal
values but "1" will display as either "1.0" (prohibited)
or "1." (usable but may be confusing). Common values that
I use for this database are "1" "0.5" and "0.25" and I
need these values to display exactly like this. And I
need to make zero values hidden (using [white] as I did
above or another method).
Any help would be appreciated.
John