Add values from multiple text boxes
Add values from multiple text boxes
Is it possible to perform mathematics on text boxes from two different Databands / Group Footers? I need to add the values from two or more data bands to produce a 'grand total'. Any help would be much appreciated!
Re: Add values from multiple text boxes
Hello,
Please try to use the Totals functions.
For example - Totals.Sum(DataBand, DataSource.Column)
Thank you.
Please try to use the Totals functions.
For example - Totals.Sum(DataBand, DataSource.Column)
Thank you.
Re: Add values from multiple text boxes
I am still having difficulty with this report. I am trying to add the values being calculated in text boxes. For example, I need a text box that will calculate "TextSHEETsum" + "TextLUMBERsum" + "TextHWsum" + "TextGLASSsum" at the bottom of my report. (see attached)
Any help will be greatly appreciated.
Any help will be greatly appreciated.
- Attachments
-
- MATERIAL COST REPORT.mrt
- (359.18 KiB) Downloaded 269 times
Re: Add values from multiple text boxes
Hello,
Can you please send us a test data for your report. We will try to find a solution for you.
Thank you.
Can you please send us a test data for your report. We will try to find a solution for you.
Thank you.
Re: Add values from multiple text boxes
Thank you!! See attached.
- Attachments
-
- RPT_issues.zip
- (1.52 MiB) Downloaded 207 times
Re: Add values from multiple text boxes
Hello,
Please check the sent data. Some columns are empty.
Thank you.
Please check the sent data. Some columns are empty.
Thank you.
- Attachments
-
- Capture.PNG (45.4 KiB) Viewed 5415 times
Re: Add values from multiple text boxes
The missing data comes from the .mdb database. I presume it would need to be re-linked you your end. Irrespective, all i need is to have a textbox that evaluates two or more other text boxes and provide a sum. Example:
Text1 + Text2 = ??
1 + 2 = 3
TextSHEETsum + TextLUMBERsum = (Result in new textbox)
Is there a way to reference a Textbox which resides in the report and then return it's value?
Thanks
Text1 + Text2 = ??
1 + 2 = 3
TextSHEETsum + TextLUMBERsum = (Result in new textbox)
Is there a way to reference a Textbox which resides in the report and then return it's value?
Thanks
Re: Add values from multiple text boxes
OK. Please see the attached report and data. I am need to get the calculated data in the red, yellow, orange and blue text boxes to sum and appear at the bottom of the report in the GREEN text box.
Thank you
Thank you
- Attachments
-
- RPT_issues2.zip
- (800.22 KiB) Downloaded 233 times
Re: Add values from multiple text boxes
Hello.
It's not so easy to get data from text components. There are component on report template and on rendered report. Usually there are many instances of one component on the rendered report.
It's better to use the same expression. Or use variables to save data there.
Thank you.
It's not so easy to get data from text components. There are component on report template and on rendered report. Usually there are many instances of one component on the rendered report.
It's better to use the same expression. Or use variables to save data there.
Thank you.
Re: Add values from multiple text boxes
Unfortunately, I do not know how to use variables in this manner.
In additions, when I try to sum multiple expressions from different DataBands, I get bizarre results. How would I sum the expressions:
{Sum (round(Parts.SqInch*(Parts.InvParts.Cost*Parts.InvParts.WASTE),2))}
from DataBandSHEET
and
{Sum (round(Parts.SqInch*(Parts.InvParts.Cost*Parts.InvParts.Waste),2))}
from DataBandSOLID
In additions, when I try to sum multiple expressions from different DataBands, I get bizarre results. How would I sum the expressions:
{Sum (round(Parts.SqInch*(Parts.InvParts.Cost*Parts.InvParts.WASTE),2))}
from DataBandSHEET
and
{Sum (round(Parts.SqInch*(Parts.InvParts.Cost*Parts.InvParts.Waste),2))}
from DataBandSOLID