Problem using relations

Stimulsoft Ultimate discussion
Post Reply
csbrogi
Posts: 89
Joined: Thu May 03, 2012 11:47 am
Location: Germany

Problem using relations

Post by csbrogi »

Hello,
I have a problem using a complex report: when I add a databand to my subreport, the data of this subreport is no longer displayed in the output.
I attach the data to the post. In the report "TestWithoutMerkmal" all works as desired. In the report "TestsWithMerkmal" I have added databand "Databand1" to subreport "subreport_Verhaltensaufrufe_der_Aktivität" . This databand has a parent component and a relation assigned. But now the data of "subReport_Aktivität_zu_Komponente" and its subreports is no longer displayed.
TestWithMerkmal.png
TestWithMerkmal.png (235.68 KiB) Viewed 1989 times
I suspect the problem is caused by the fact that on this subReport I use the same datasource "Merkmal" with a different relation. Is it possible to get around this?
Thanks
Clemens
Attachments
DokuDatenAusgabeTransformed.xsd
(45.45 KiB) Downloaded 252 times
datenShort.xml
(256.27 KiB) Downloaded 407 times
TestWithMerkmal.mrt
(74.27 KiB) Downloaded 392 times
TestWithoutMerkmal.mrt
(73.47 KiB) Downloaded 366 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem using relations

Post by HighAley »

Hello.

Sorry, we need a little more time to prepare an answer for you.

Thank you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: Problem using relations

Post by Ivan »

Hello,
csbrogi wrote:I suspect the problem is caused by the fact that on this subReport I use the same datasource "Merkmal" with a different relation.
Yes, you're right.
csbrogi wrote:Is it possible to get around this?
Unfortunately, it a restriction of our engine: you cannot use the same data source for detail bands.
As a workaround, you can create a copy of your Merkmal datasource, for example Markmal2, and use this new datasource for detail bands.

Thank you.
Post Reply