General information
Category:
Reports & Report designer
Title:
DynamicForeColor in a Grid ?
G'day All
I use the following bit of code in the INIT of a grid to alter the dynamicForeColor for a specific condition. (checked against a field value for the current record).
LOCAL nCntr
FOR nCntr = 1 TO This.ColumnCount
This.Columns(nCntr).DynamicForeColor = "IIF( = .F.,RGB(0,0,0),RGB(255,0,0))"
ENDFOR
It's used just to highlight records that need some sort of user supplied default data.
I have a report working of the same table used to populate the grid and, would like the font color of the report detail lines to reflect the same. Any ideas ?
TIA
Brendan
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only