Page 1 of 1

SumD is not in the context

Posted: Tue Aug 10, 2010 5:53 am
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


SumD is not in the context

Posted: Tue Aug 10, 2010 7:52 am
by Alex K.
Hello,

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

Thank you.

SumD is not in the context

Posted: Wed Aug 11, 2010 12:11 am
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

SumD is not in the context

Posted: Wed Aug 11, 2010 12:17 am
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

SumD is not in the context

Posted: Wed Aug 11, 2010 12:41 am
by Alex K.
Hello,

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

Thank you.