Shifting a SubReport
Hi,
I have a Report with 2 Subreports separated by a few other items (fields,
labels). I want to shift all the content after the first subreport. All of
the other items I can do it easily with a Region but i can?t get the other
subreport to shift correctly. I've tried placing the 2nd subreport inside
and outside the region, but with no success. Is there any way to shift the
2nd subreport? I have RB 6.02
Thanks in advance
Alexandre Peixoto
I have a Report with 2 Subreports separated by a few other items (fields,
labels). I want to shift all the content after the first subreport. All of
the other items I can do it easily with a Region but i can?t get the other
subreport to shift correctly. I've tried placing the 2nd subreport inside
and outside the region, but with no success. Is there any way to shift the
2nd subreport? I have RB 6.02
Thanks in advance
Alexandre Peixoto
This discussion has been closed.
Comments
Subreport1
Some Labels
Subreport 2
If this is right, then put the "some labels" in a region and set the
property of that region "ShiftRelativeTo..." to the Subreport1. Then set the
same property but of Subreport2 to the new region.
Then all three dynamic main items are then chained together.
Best Regards
Chris
www.eulanda.com
ERP Solutions
inside another region and shifting it relatively to the first region. In
both cases the 2nd subreport is right next to the first subreport. This must
be a bug, but I'm out of ideas for this...
when you say the subreport2 is right next, did you mean, that the elements
between are overlayed by the content of the subreport, or did you mean, that
the second subreports start driect after the last elements with no white
space after the last elements?
chris
www.eulanda.de
ERP Solutions
1st Subreport
2nd Subreport (directly after the last element of the 1st one)
Labels
What could be happend is, that those labels are not inside the region. This
happens sometimes. There is a datatree, if you insert this tree under the
mainmen? (toolbar), you can see the quasi "Z" order of all elements. If the
labels are not in the region, then the behavoir could be like you descriped.
Another reason could be that one of the ShiftRelativTo propertys are broken.
- SubReport2 must connect with ShiftRelativeTo to the Region object (which
holds the labels)
- The Region must connect with ShiftRelativTo to Subreport1
If it is not going right with this tips, you can mail me the report at
cn@eulanda.de . I will have a look on them. But the report should be simple
and please not to use any passthrough or special data on the datatab.
Chris
www.eulanda.de
ERP Solutions