Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Greeting
i have 3 textbox value in footer of my report
i want make total (sum) for tow of them
so when i try to make total with them give me this error

The Value expression for the textrun ‘.Paragraphs[0].TextRuns[0]’ refers to more than one report item. An expression in a page header or footer can refer to only one report item.


i used those code for sum but none of them working

=ReportItems!Textbox62.Value+ReportItems!Textbox61.Value



is there any idea fro solve this problem

What I have tried:

i also tried this but even give me error

=CDec(ReportItems!Textbox62.Value)+CDec(ReportItems!Textbox61.Value)
Posted
Comments
[no name] 7-Dec-19 13:54pm    
Sum the "data", not the "report output".
mohammed mqi 8-Dec-19 2:45am    
The expression of Textbox62 and Textbox61 actually come from total of tow different filtered table in body and it give expect value

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900