Relation lost on Synchronize()

Stimulsoft Reports.Flex discussion
Locked
pcady
Posts: 6
Joined: Mon Dec 17, 2012 4:31 pm

Relation lost on Synchronize()

Post 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
pcady
Posts: 6
Joined: Mon Dec 17, 2012 4:31 pm

Re: Relation lost on Synchronize()

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Relation lost on Synchronize()

Post by HighAley »

Hello.

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

Thank you.
Locked