how to dynamically change display format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to display a field as currency but I want the value to appear in red
if the value is negative and 'default color' if the value is not negative.
Is there a way to do this?

Will
 
I want to display a field as currency but I want the value to appear in red
if the value is negative and 'default color' if the value is not negative.
Is there a way to do this?

Will

You can use the control's Format property to do this.
Set the Format property to:
# [Black];-# [Red];0 [Black]

Look up Format Property + Number and Curerency datatype
in access Help.
 
Thanks Fred,
That's exactly what I needed.

Will

fredg said:
I want to display a field as currency but I want the value to appear in red
if the value is negative and 'default color' if the value is not negative.
Is there a way to do this?

Will

You can use the control's Format property to do this.
Set the Format property to:
# [Black];-# [Red];0 [Black]

Look up Format Property + Number and Curerency datatype
in access Help.
 
Back
Top