% of total

Stimulsoft Reports.NET discussion
Post Reply
ToolHound
Posts: 4
Joined: Fri Feb 13, 2009 6:27 pm
Location: Canada

% of total

Post 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.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

% of total

Post 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.
ToolHound
Posts: 4
Joined: Fri Feb 13, 2009 6:27 pm
Location: Canada

% of total

Post 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
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

% of total

Post 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.
Post Reply