Expression Error

Stimulsoft Reports.NET discussion
Andy1120
Posts: 46
Joined: Mon Oct 27, 2014 2:19 am

Re: Expression Error

Post by Andy1120 »

Hello,
Can you run the report template which is in the attachment.I had used the function Sum(),But it got error. the error is "Sum() is not exits".
Thank you.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Expression Error

Post by Andrew »

Hello,

Please attach the file to this thread. It seems you forgot to do this).

Thank you.
Andy1120
Posts: 46
Joined: Mon Oct 27, 2014 2:19 am

Re: Expression Error

Post by Andy1120 »

hello
you can run the report template. it will show the error which is "Sum is not exists".
Thank you.
Attachments
Report.mrt
(13.7 KiB) Downloaded 162 times
product.CSV
(90 Bytes) Downloaded 160 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Expression Error

Post by Alex K. »

Hello,

In this case, it is impossible to use the IFF, because this is the function and both values are calculated and only then checking is performed. In your sample you divide by zero. Please try to use the operator ( ? : ).

Thank you.
Andy1120
Posts: 46
Joined: Mon Oct 27, 2014 2:19 am

Re: Expression Error

Post by Andy1120 »

Thank you.It 's works.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Expression Error

Post by Alex K. »

Hello,

We are always glad to help you!

Thank you.
Post Reply