Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditionally formatting font color 1

Status
Not open for further replies.

runnerlk

MIS
Jul 19, 2002
41
US
I have the following formula to change the font color to red. It appears that values that are equal are also red.

This is an SQL v2000 database with an ODBC connection

If Sum ({@CurrentMonth})>Sum ({@CurrentMonthPriorYear})Then crRed
else crBlack

All of the values are currently single digit.

So for instance if both columns are 0 then the {@CurrentMonth} is red s/b black.

Any insight would be appreciated.

Lou
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top