Page 1 of 1

Relation lost on Synchronize()

Posted: Thu Jan 10, 2013 9:08 pm
by pcady
I have a simple Master-Detail report that I use RegDataSet to send data to. However, it appears that after I Synchronize() in Flex, the Relation is no longer defined and all the the Detail records are shown with every Master record. When I use Design() instead of Show(), I can see that the Relation is no longer defined with the Data Sources.

Any idea what I'm doing wrong here? The keys are definitely both Ints so its not a type mismatch.

Thanks,
-pc

Re: Relation lost on Synchronize()

Posted: Fri Jan 11, 2013 4:52 am
by pcady
http://dialecticals.com/TestReportsFXFlex.fxp contains a flex project illustrating the problem. Details: Flashbuilder 4.5; Flex SDK 4.5.1; copy Stimulsoft swc's to /lib directory to compile.
Thanks,
-pc

Re: Relation lost on Synchronize()

Posted: Fri Jan 11, 2013 10:01 am
by HighAley
Hello.

The synchronize() method recreates all Data Sources. So if you had changed it, all changes will gone.

Thank you.