Page 1 of 1

Add two text fields type

Posted: Mon Aug 24, 2015 2:31 pm
by andrets13
I need to Sum two type text fields and then split in two.
I need to get the average of the sum of two fields.
This should make for each record that is displayed in the DataSet

Re: Add two text fields type

Posted: Tue Aug 25, 2015 7:36 am
by HighAley
Hello.

You could use system functions like Sum() and Avg().
If you still need our help, please describe your issue more detailed with samples.

Thank you.

Re: Add two text fields type

Posted: Tue Aug 25, 2015 1:03 pm
by andrets13
Text fields are kind and I generate error, I have follows. but it does not work me
{Sum(InfoMateriaBoletinCo.NotaNumEv3, InfoMateriaBoletinCo.NotaNumEv4)}

Re: Add two text fields type

Posted: Tue Aug 25, 2015 1:10 pm
by Alex K.
Hello,

Please try to use the following expression if need summary by all dataset:

Code: Select all

{Sum(InfoMateriaBoletinCo.NotaNumEv3)  + Sum(InfoMateriaBoletinCo.NotaNumEv4)}
or next for one record:

Code: Select all

{InfoMateriaBoletinCo.NotaNumEv3  + InfoMateriaBoletinCo.NotaNumEv4}
Thank you.

Re: Add two text fields type

Posted: Tue Aug 25, 2015 3:57 pm
by andrets13
The first option generates errors, and the second single concatenated and does not serve me

Re: Add two text fields type

Posted: Wed Aug 26, 2015 6:05 am
by HighAley
Hello.

It's very difficult to guess what do you need to get.
Did you try to use next expression:

Code: Select all

{Sum(InfoMateriaBoletinCo.NotaNumEv3, InfoMateriaBoletinCo.NotaNumEv4)}
Please, send us any sample with more detailed description.

Thank you.