Page 2 of 2

Re: Add two fields on the report

Posted: Tue Jan 17, 2017 12:08 pm
by miguelcaro
Last release php 2016.3

Re: Add two fields on the report

Posted: Tue Jan 17, 2017 4:59 pm
by miguelcaro
Stimulsoft PHP 2016.3
miguelcaro wrote:Since the datasource that we connect to Firebird 2.5 returns all the fields in String format, when we design a databand with 2 fields, supposedly numeric, we can not perform calculations with them. Stimulsoft php forces us to edit in the datasource, the string fields to numerics (double).

Datasource1.Amount1 and Datasource1.Amount2 are StringField in the datasource. If you put a new text object and edit it with this expression. The report fails.
{ Datasource1.Amount1 + Datasource1.Amount2 }

But... if you edit this two fields to "double" in the Datasource , Report works fine.

Re: Add two fields on the report

Posted: Tue Jan 17, 2017 5:00 pm
by miguelcaro
Stimulsoft PHP 2016.3

Re: Add two fields on the report

Posted: Tue Jan 17, 2017 6:24 pm
by Alex K.
Hello,

We couldn't reproduce this bug on our test data.
Please send us a simple report with test data which reproduces the issue for analysis.

Thank you.