Newbie to Stimulsoft

Stimulsoft Reports.NET discussion
Post Reply
Terry
Posts: 3
Joined: Wed Nov 10, 2010 12:31 pm

Newbie to Stimulsoft

Post by Terry »

Hi all,
Really new to this product and am looking for some doc on that commands of some examples to look at.
In particular, I need to multiply 2 fields together to get a result, but cannot find the correct syntax, I would assume it s/b a * b,
also, looking to a example that would trim spaces/blanks in a field.

Not sure if I asked this the right way, but I tried several things to no avail.
Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Newbie to Stimulsoft

Post by Alex K. »

Hello,

Could you explain your issue in more details?

Thank you.
Terry
Posts: 3
Joined: Wed Nov 10, 2010 12:31 pm

Newbie to Stimulsoft

Post by Terry »

Ok, the Trim command I figured out.

I think I figured out the calculation of 2 fields, by using the the New Calculated Column process. But when I set that up and save the format, it does not save the new field within in the dictionary. If I close the format and reopen it, the new field is not there for use. And I get a message

C:\Users\tambrosi\AppData\Local\Temp\6\i5_imr4s.0.vb(63,0) : error BC30456: 'CalcCases' is not a member of 'Reports.Report.LBSDataSource'.

I need to multiply 2 fields in the data dictionary to get a value I need displayed on the report.

Any help would be appreciated.

Thanks
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Newbie to Stimulsoft

Post by Jan »

Hello,

You can use following expression in your text component:

Code: Select all

{MyDataSource.Field1 * MyDataSource.Field2}
Thank you.
Post Reply