use a formula for field

Stimulsoft Reports.NET discussion
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

use a formula for field

Post by majidsoft »

hi
thanks for your help i have a 2010 version of stimul but your new code is not working i use vb.net code in my report maybe this is reason however i sove my problem in program i count that in my software and send in as a parameter to a report if you mind please answer my another topic
thank you
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

use a formula for field

Post by Jan »

Hello,

In this case use following expression:

Code: Select all

{Sum(IIF(rest.rest == 2, 1, 0)}
Thank you.
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

use a formula for field

Post by majidsoft »

hi
when i use this code i encountered with this errors
C:\Documents and Settings\dina\Local Settings\Temp\smcsv1bj.0.vb(77,0) : error BC30201: Expression expected.
C:\Documents and Settings\dina\Local Settings\Temp\smcsv1bj.0.vb(77,0) : error BC32017: Comma, ')', or a valid expression continuation expected.
C:\Documents and Settings\dina\Local Settings\Temp\smcsv1bj.0.vb(335,0) : warning BC40003: property 'count' shadows an overloadable member declared in the base class 'StiDataSource'. If you want to overload the base method, this method must be declared 'Overloads'.
thanks
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

use a formula for field

Post by Jan »

Hello,

Can you say which version of our product you are use? Can you attach your report to this topic?

Thank you.
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

use a formula for field

Post by majidsoft »

hi
i use stimul 2010.1 i cant send my project if you can please create a small project and send to me
thanks
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

use a formula for field

Post by Jan »

Hello,

I need only report. Can you attach your report to this topic?

Thank you.
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

use a formula for field

Post by majidsoft »

hi
ok i send it to you
Attachments
421.Report.mrt
(8.94 KiB) Downloaded 336 times
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

use a formula for field

Post by Jan »

Hello,

Its a bug in report engine. Patch will be available in prerelease build from 24 May.

Thank you.
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

use a formula for field

Post by majidsoft »

hi
if patch is prepared please send me a link of that
thanks
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

use a formula for field

Post by Andrew »

Hello,

If you are not a registered user then go to http://stimulsoft.com/ReportsNetDownloads.aspx and download the latest prerelease build. If you are a registered user then go to http://stimulsoft.com/RegisteredUsers.aspx?login=yes , sign in and download the latest prerelease build.

Thank you.
Post Reply