Change Color Of Text Box In Report

Z

zyus

I have a text box that calculate the difference between [text1]-[text2].

How to set a different color if the result is negative.

Thanks
 
J

John W. Vinson

I have a text box that calculate the difference between [text1]-[text2].

How to set a different color if the result is negative.

Thanks

Open the report in design view; select this textbox; select Format...
Conditional Formatting from the menu. It's pretty selfexplanatory.
 
D

Duane Hookom

You can also simply set the Format Property. Check Help to find something
like
Format: $#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null"
This expression sets the format to currency with positive values in Green
and negative values in Red.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top