adding two values from two textboxes

Stimulsoft Reports.NET discussion
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: adding two values from two textboxes

Post by Lech Kulikowski »

Hello,

Please send us test data for your report.

Thank you.
ddsmith99301
Posts: 52
Joined: Wed May 17, 2017 10:14 pm

Re: adding two values from two textboxes

Post by ddsmith99301 »

The data is proprietary. It would take me a while to mock-up a database. I did find a temporary workaround. I set the property, 'Process at' to 'End of page' on the text components that use the Variables that are set from data acquired earlier in text components.
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: adding two values from two textboxes

Post by Lech Kulikowski »

Hello,

Ok.
Please let us know if you need any additional help.

Thank you.
ddsmith99301
Posts: 52
Joined: Wed May 17, 2017 10:14 pm

Re: adding two values from two textboxes

Post by ddsmith99301 »

I cobbled together a sample report and SQL Server database for you to determine why the variable is set in one record and then the value is returned in the next record. I need it to be set and returned in the same record.
Attachments
files for Stimulsoft forum post.zip
(648.36 KiB) Downloaded 61 times
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: adding two values from two textboxes

Post by Lech Kulikowski »

Hello,

We need some time to investigate the issue, we will let you know about the result.

Thank you.
#9816
ddsmith99301
Posts: 52
Joined: Wed May 17, 2017 10:14 pm

Re: adding two values from two textboxes

Post by ddsmith99301 »

Thank you!
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: adding two values from two textboxes

Post by Lech Kulikowski »

Hello,

It is specific of our engine in the Compilation mode.

You can use the following expression:
{VB2 = Totals.Sum(GroupHeaderBand1,QueryResults.Invoice_Transaction_Gross_Amount)}

or set the Calculation mode to the Interpretation.

Thank you.
Post Reply