Page 1 of 1

% of total

Posted: Fri Feb 13, 2009 6:31 pm
by ToolHound
I am trying to create a report similar to this post - http://forum.stimulsoft.com/Default.aspx?g=posts&t=465. However, I get an error BC30451 - name "sum" is not declared.

This is my expression: {tblBySection.Total / sum(tblBySection.Total)}. I also tried totals.sum(tblBySection.Total).

What am I doing wrong?

Thanks.

% of total

Posted: Mon Feb 16, 2009 12:56 am
by Edward
Hi

If the report has been created using C# language, then please use case sensitive names of the functions, e.g.:

Code: Select all

Sum(Value)

Totals.Sum(...)
Thank you.

% of total

Posted: Mon Feb 16, 2009 12:38 pm
by ToolHound
I am using VB, but changes to Totals.Sum and still get the same error.

I am using version 2007.3.100. Could this be the issue?

Dean

% of total

Posted: Tue Feb 17, 2009 1:55 am
by Edward
Hi Dean,

No it is not the reason of the issue. Totals worked well in 2007.3.100.

You can send a report to support[at]stimulsoft.com for analysis.

Thank you.