Page 1 of 1

Newbie to Stimulsoft

Posted: Wed Nov 10, 2010 12:36 pm
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

Newbie to Stimulsoft

Posted: Wed Nov 10, 2010 3:35 pm
by Alex K.
Hello,

Could you explain your issue in more details?

Thank you.

Newbie to Stimulsoft

Posted: Thu Nov 11, 2010 9:49 am
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

Newbie to Stimulsoft

Posted: Thu Nov 11, 2010 3:03 pm
by Jan
Hello,

You can use following expression in your text component:

Code: Select all

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