Row Rendered event for crosstab report

This public forum is for user-to-user discussions of ASP Report Maker. Note that this is not support forum.

Row Rendered event for crosstab report

Postby ready4data » Fri Feb 19, 2016 12:03 am

In v8, I used this code in the Row_Rendered server event to color the cells and text in a crosstab report.
For i = 0 to UBound(rptNoTrained.SummaryViewAttrs)
If rptNoTrained.SummaryCurrentValue(i) > 0 Then
Call ewr_SetAttr(rptNoTrained.SummaryCellAttrs(i), "style", "font-weight:bold; color: #FF0000;") 'Red numbers
End If
If rptNoTrained.SummaryCurrentValue(i) = 0 Then
Call ewr_SetAttr(rptNoTrained.SummaryCellAttrs(i), "style", "background-color: #009900; color: #009900;") 'Green numbers and cell
End If
Next
It doesn't work in v9. What changes would need to be made?

Thanks,
Scott
ready4data
 
Posts: 276
Joined: Mon Nov 19, 2012 8:24 pm

Re: Row Rendered event for crosstab report

Postby motfs » Fri Feb 19, 2016 10:22 am

There is no issue to use the same code in v9. You may post more detail about your report setting.
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm

Re: Row Rendered event for crosstab report

Postby ready4data » Fri Feb 19, 2016 8:22 pm

Thanks
I sent in to support to investigate.
Scott
ready4data
 
Posts: 276
Joined: Mon Nov 19, 2012 8:24 pm


Return to General Discussion (ASP Report Maker)