SumD is not in the context

Stimulsoft Reports.NET discussion
Post Reply
Vikas
Posts: 20
Joined: Sat Jul 31, 2010 4:12 am
Location: Delhi

SumD is not in the context

Post by Vikas »

Hi

I am using the below code

{Switch(SumD(DownloadTourMaster.TourCount) > 0,
Div(SumD(DownloadTourMaster.TourCount),2),
SumD(DownloadTourMaster.TourCount) <=0,
0)
}

code is showing the runtime error as

The name 'SumD' does not exist in the current context in the Div function in Div(SumD(DownloadTourMaster.TourCount),2)

If I used the Div(4,2) Its working fine but when i use the SumD function in the Div function, Its showing thw runtime error as above.

Please help me.

Thanks
Vikas

Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

SumD is not in the context

Post by Alex K. »

Hello,

We made some improvements in that direction about a week ago.
Please check the latest build.

Thank you.
Vikas
Posts: 20
Joined: Sat Jul 31, 2010 4:12 am
Location: Delhi

SumD is not in the context

Post by Vikas »

Hi,

I am using the Stimulsoft.Reports.Web.2010.1 and Stimulsoft.Designer.Web.2010.1 version.


Can you help me through code. I have also try the IFF condtion, but facing same problem.
Me iff condition is

{SumD(DownloadTourMaster.TourCount)} / {SumD(DownloadTourMaster.TourCount + DownloadTourMaster.MissedCount)} - {
IIF(SumD(DownloadTourMaster.TourCount)>0,

Round(SumD(DownloadTourMaster.TourCount)*100,2)
,0)

} %

Error is in the above code in Round function as SumD does not exists in the current context.

Please help me. Its urgent.

Thanks
Vikas
Vikas
Posts: 20
Joined: Sat Jul 31, 2010 4:12 am
Location: Delhi

SumD is not in the context

Post by Vikas »

Hi,

I am using the Stimulsoft.Reports.Web.2010.1 and Stimulsoft.Designer.Web.2010.1 version.


Can you help me through code. I have also try the IFF condtion, but facing same problem.
Me iff condition is

{SumD(DownloadTourMaster.TourCount)} / {SumD(DownloadTourMaster.TourCount + DownloadTourMaster.MissedCount)} - {
IIF(SumD(DownloadTourMaster.TourCount)>0,

Round(SumD(DownloadTourMaster.TourCount)*100,2)
,0)

} %

Error is in the above code in Round function as SumD does not exists in the current context.

Please help me. Its urgent.

Thanks
Vikas
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

SumD is not in the context

Post by Alex K. »

Hello,

We made some improvements in that direction about a week ago.
Please check the latest Prerelease Builds.

Thank you.
Post Reply