HEADER and FOOTER codeblocks
Posted: Wed Mar 09, 2016 11:09 am
Roger
Are footer and header codeblocks meant to refresh their values every time a dc_getrefresh() is done?
We put totals into the footers of some columns. As they can be defined as codeblocks, I presumed their values would be refreshed in a similar way to the way DCSAY and DCSTATICs are done. But they're not.
Am I missing something?
As a workaround I have done a loop round the column objects, getting the footer blocks, evaluating them and then pasting them in the footer cell using setcell following by an invalidaterect().
Are footer and header codeblocks meant to refresh their values every time a dc_getrefresh() is done?
We put totals into the footers of some columns. As they can be defined as codeblocks, I presumed their values would be refreshed in a similar way to the way DCSAY and DCSTATICs are done. But they're not.
Am I missing something?
As a workaround I have done a loop round the column objects, getting the footer blocks, evaluating them and then pasting them in the footer cell using setcell following by an invalidaterect().