Data Randomly Doubling

Stimulsoft Reports.Flex discussion
Locked
tmac16
Posts: 12
Joined: Fri Sep 24, 2010 8:19 am

Data Randomly Doubling

Post by tmac16 »

Hi,

When designing a report via the Designer and using an xml file the report looks as expected however, when running the same report using the same data, certain data get doubled for some reason.

I am using Designer 2014.3 and the build dates on my swc files are 7.27.2014.

Any thoughts on why this might be happening? I can provide all source files if needed.

Tom
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Data Randomly Doubling

Post by HighAley »

Hello.

The issue was fixed.
Please, upgrade to the latest official build.

Thank you.
tmac16
Posts: 12
Joined: Fri Sep 24, 2010 8:19 am

Re: Data Randomly Doubling

Post by tmac16 »

Hi,

Ok I upgrade to the latest version 2016.3 and in the designer the data is no longer doubling however, within my application it still is. I confirmed the view is the 2016.3 version. I also exported the XML data and confirmed it matches the file I am working with in the designed.

Any thoughts?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Data Randomly Doubling

Post by HighAley »

Hello.

We need to see a sample with code where you add data and your report template.

Thank you.
tmac16
Posts: 12
Joined: Fri Sep 24, 2010 8:19 am

Re: Data Randomly Doubling

Post by tmac16 »

I have objects that build the different components for easy of future reporting and deployment. The important pieces i think are shown below. Let me know if more is needed.

private var report:StiReport = new StiReport();
public var xmlData:XML;

report.loadReportFromString(documentString); //Loads .mrt file
report.dictionary.dataStore.clear();
report.dictionary.databases.clear();

xmlData = new XML("<Data></Data>"); //Create new XML object
report.regDataXML("NEJ", "NEJ", xmlData);
xmlData.appendChild(evt.result.AuditReportLoads); // Once the XML data is retrieved from the database, append to xmlData object

report.regDataXML("NEJ", "NEJ", xmlData);
report.show(viewer);
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Data Randomly Doubling

Post by Andrew »

Hello,

Please send us your re[ort template and test data for analysis. We will check everything.

Waiting for your reply.
Thank you.
tmac16
Posts: 12
Joined: Fri Sep 24, 2010 8:19 am

Re: Data Randomly Doubling

Post by tmac16 »

Sure, what email address do i send that do?

Also please keep in mind it only doubles through the UI, not from designer with the XML file.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Data Randomly Doubling

Post by Alex K. »

Hello,

Please send it on support@stimulsoft.com

Thank you.
Locked