Hi,
i cannot connect my data to a report.
this is my code:
var xml:XML=
<Demo>
<Customers>
<ID>1</ID>
<CustomerName>John Smith</CustomerName>
<City>Dallas</City>
</Customers>
<Customers>
<ID>2</ID>
<CustomerName>Antonio Moreno</CustomerName>
<City>Dallas</City>
</Customers>
<Customers>
<ID>3</ID>
<CustomerName>Elizabeth Brown</CustomerName>
<City>Houston</City>
</Customers>
</Demo>;
var report: StiReport = new StiReport();
report.loadReportFromString(reportString);
report.dictionary.databases.clear();
report.regData("Demo","Demo",xml);
report.dictionary.synchronize();
report.design();
But i cannot see data in data band and i always see a "X" near the data source "demo" in the designer.
Thanks
How do i connect my data to a report?
Re: How do i connect my data to a report?
Hello,
We could not reproduce the error, the data is displayed correctly (please see attached screenshot). Most likely there is an error in your report. Please check the data source and columns names in the report, they must be the same as in the specified data.
Thank you.
We could not reproduce the error, the data is displayed correctly (please see attached screenshot). Most likely there is an error in your report. Please check the data source and columns names in the report, they must be the same as in the specified data.
Thank you.