xBrowse Back colour of a column based on the column value.
Posted: Mon Jan 11, 2010 10:02 am
Hi,
How do I change the Background colour of a column based on a the column value.
The following code is giving error
Regards
Anser
How do I change the Background colour of a column based on a the column value.
The following code is giving error
- Code: Select all Expand view
- Error description: Error BASE/1004 Class: 'NIL' has no exported method: EVAL
- Code: Select all Expand view
- @ 0,0 XBROWSE oBrw ;
OF oWnd ;
FOOTERS CELL
oBrw:oRs:=oRecSet // ADO RecordSet
For i:=1 to len(oBrw:aCols)
MsgInfo(Eval(oBrw:aCols[i]:bStrData)) // Error occurs at this point
// Trying to assign column back colour based on condition
if Eval(oBrw:aCols[i]:bStrData) > aBranchTemp[i][3]
oBrw:aCols[i]:bClrStd:={ || {CLR_RED,CLR_GREEN} }
Endif
Next
Regards
Anser