I know I post too much but the reason is that no one replies and I continue trying

Now, all what I need is to pass xml data in runtime to the report. I tried everything and nothing worked.
I designed a report template, saved it as .mrt, then used loadReportFromString and this showed the same data I used while designing the template. This is obvious since the path of the file exists in the .mrt file.
Now I want to load runtime data.
I tried regDataXML and it showed an empty report. I tried the last FAQ using
Code: Select all
report.dictionary.databases.clear();
var database: StiXmlDatabase = newStiXmlDatabase("Connection1", "reports/data/Demo.xsd", "reports/data/Demo.
xml");
report.dictionary.databases.add(database);
And it gave me Error 2032 Stream Error (By the way, StiXmlDatabase does not exist in the new versions !)
I added report.dictionary.synchronize(); but nothing worked.
Now of course I'm missing a step. But I cannot blame myself since it is not written anywhere step by step.
Thanks