Re: DC_GetColArray() - suggestion
Posted: Fri Sep 18, 2015 5:54 am
My changes to DC_GetColArray() don't work. DC_XbpColumn:Init raises an error (line 3205, build 260) if something like that is done:
Assume that a[x,2] should be a date. But the array is empty when the browse is shown first. It's to be filled later.
("EmptyDate" returns CtoD(" . . "))
Edit: It works well without the color codeblock.
Assume that a[x,2] should be a date. But the array is empty when the browse is shown first. It's to be filled later.
Code: Select all
DCBROWSECOL DATA {||DC_GetColArray(2,oBrowse,,EmptyDate()} COLOR {|d|IF(Year(d)=Year(Date()),{GRA_CLR_GREEN,GRA_CLR_BLACK},oBrowse:RowColor())}
Edit: It works well without the color codeblock.