Question

in my project there are three reports - Main Report and two subreports, each with its own dataset (the only column common to all the datasets is ItemID). The Main Report passes ItemID as parameter to each of its two subreports.

The Main Report is built in a form-like layout, i.e. I use the List control and arrange the Main Report fields inside the List body. (I need to show only one record each time, so I chose List and not Table or Matrix.)

If I add one of the subreports to the Main Report body (i.e. inside the List body), it works just fine. But if I try to add the other subreport to the Main Report, the data is shown only in the subreports while the fields of the Main Reports are empty (no data from the dataset of the Main Report is shown). I can't understand why it happens.

What could be the problem here?

I'll appreciate any help.

Was it helpful?

Solution

I solved the problem by placing each of the subreports in a rectangle of its own, instead of placing them both directly in the rectangle of the List's body.

I should use rectangles more often...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top