Caxxcann
asked on
How to format numbers on a recordset
How do I set a negative number to a red color from a recordset retrived from:
Select table1.ID, table1.Name, Sum(Case When table1.ID = table2.ID and table2.score1 < 0 Then score1 Else 0 End)
From table1, table2
Select table1.ID, table1.Name, Sum(Case When table1.ID = table2.ID and table2.score1 < 0 Then score1 Else 0 End)
From table1, table2
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This would set the bg color to red, but the same concept could be set for the font as well.
You will need to change the mysql syntax to the MSSQL or Access that you are using
Open in new window