In the .mrt have saved a relationship that appears in the AIR, but when I view this relationship disappears in the browser.
When I run the following command
trace (report.dictionary.relations.length);
the number of relation appear.
I am running the reports by the Flex code below:
report.loadReportFromString (reportString);
report.regDataXML ("dataXML","dataXML", xml);
report.dictionary.synchronize ();
report.show();
Is there any command that I run so that relations appear through the code in the browser?
Thanks
Relations - Flex Code
-
- Posts: 7
- Joined: Tue Jan 18, 2011 12:51 pm
- Location: Brasil
-
- Posts: 7
- Joined: Tue Jan 18, 2011 12:51 pm
- Location: Brasil
Relations - Flex Code
I found the problem.
No need to synchronize every time, just when you have a new dataSource, am I correct?
I removed the line: report.dictionary.synchronize (), and showed the relations properly.
Thanks and congratulations for the initiative.
No need to synchronize every time, just when you have a new dataSource, am I correct?
I removed the line: report.dictionary.synchronize (), and showed the relations properly.
Thanks and congratulations for the initiative.
Relations - Flex Code
Great!
Have a nice day!
Thank you.
Have a nice day!
Thank you.