Add two fields on the report

Stimulsoft Ultimate discussion
miguelcaro
Posts: 8
Joined: Fri Apr 01, 2016 3:45 pm

Re: Add two fields on the report

Post by miguelcaro »

Last release php 2016.3
miguelcaro
Posts: 8
Joined: Fri Apr 01, 2016 3:45 pm

Re: Add two fields on the report

Post 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.
miguelcaro
Posts: 8
Joined: Fri Apr 01, 2016 3:45 pm

Re: Add two fields on the report

Post by miguelcaro »

Stimulsoft PHP 2016.3
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Add two fields on the report

Post 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.
Post Reply