Is it possible to store values in a cursor to format cells in a grid?
For example, I've the cursor:
Field1 Field2 Field3
-1 1 3
1 -1 2
and the table:
Field1 Field2 Field3
aa bb cc
dd ee ff
I would like to display the table using a grid with blue background cells
for positive values of the same field of the same record in the cursor and
red for negative values, like this:
The grid:
Field1 Field2 Field3
aa (RED) bb (BLUE) cc (BLUE)
dd (BLUE) ee (RED) ff (BLUE)
Any suggestions?
Thanks in advance!
Lorenzo