Page 1 of 1

Data Randomly Doubling

Posted: Wed Nov 23, 2016 8:09 pm
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

Re: Data Randomly Doubling

Posted: Thu Nov 24, 2016 8:49 am
by HighAley
Hello.

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

Thank you.

Re: Data Randomly Doubling

Posted: Sun Dec 18, 2016 7:17 pm
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?

Re: Data Randomly Doubling

Posted: Mon Dec 19, 2016 3:03 pm
by HighAley
Hello.

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

Thank you.

Re: Data Randomly Doubling

Posted: Tue Dec 20, 2016 12:07 am
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);

Re: Data Randomly Doubling

Posted: Tue Dec 20, 2016 8:47 am
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.

Re: Data Randomly Doubling

Posted: Tue Dec 20, 2016 8:50 pm
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.

Re: Data Randomly Doubling

Posted: Wed Dec 21, 2016 2:22 pm
by Alex K.
Hello,

Please send it on support@stimulsoft.com

Thank you.