Reports won't display any data
Posted: Tue Oct 05, 2010 10:28 am
Hi,
I've created a report in designer. It previews fine and I have saved it as a .mrt file. The Data connection in the the report is to an xml file hosted on a web server, so it has an absolute url.
When I try to open the report in my Flex application it is blank. There is no data and no labels.
The code I am using to display the report is:
I am using the latest release version of Resports.Fx for Flex in a Flash Builder app with Flex 4 SDK. I can see that the report string has loaded in the debugger and correctly references the url of my data.
How do I make the report display?
Thanks
Dom
I've created a report in designer. It previews fine and I have saved it as a .mrt file. The Data connection in the the report is to an xml file hosted on a web server, so it has an absolute url.
When I try to open the report in my Flex application it is blank. There is no data and no labels.
The code I am using to display the report is:
Code: Select all
private function reportLoaded(e:Event):void {
var report:StiReport = new StiReport();
var xs:String = e.target.data;
report.loadDocumentFromString(xs);
report.show(reportViewer);
}
How do I make the report display?
Thanks
Dom