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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I set a dbgrid cell color

Status
Not open for further replies.

jasperjasper

Programmer
Mar 23, 2004
117
0
0
US
I have a dbgrid that i fill with data no problem via a dataset. One of the columns in the grid is an amount column. I can read thru the grid testing the amount value in each row, but if the value is less than 0 I want to make the value red, otherwise green. I have been unable to do this. Is there an easy way to do it. It was pretty easy in VB6 /ADO. Can someone shed some light here....THanks so much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top