How do I Repeat identical SubReports?
Can anyone please help me with the following...
Each sheet of my report consists of 15 custom-sized labels, 5 each of 3
sizes (A-big, B-medium, C-small), arranged in various positions on a single
sheet. Each of the 15 labels on the sheet shows the same data, but the sizes
and positions differ. It is not a regular grid.
Something like this
A1 A2 A3
B1 A4 A5
B2
B3 C1
B4 C2
B5 C3
C4 C5
What I would like to do is to define 3 sub-reports (one each for layout A, B
and C), and on the main report have each subreport to print identically, but
in 5 different positions.
So far, I have tried, but I have to create 15 sub-reports.
Is there a way I can do it, but just define 3 sub-reports, with each
subreport printed 5 times in various positions?
Many thanks,
Edward Benson.
Each sheet of my report consists of 15 custom-sized labels, 5 each of 3
sizes (A-big, B-medium, C-small), arranged in various positions on a single
sheet. Each of the 15 labels on the sheet shows the same data, but the sizes
and positions differ. It is not a regular grid.
Something like this
A1 A2 A3
B1 A4 A5
B2
B3 C1
B4 C2
B5 C3
C4 C5
What I would like to do is to define 3 sub-reports (one each for layout A, B
and C), and on the main report have each subreport to print identically, but
in 5 different positions.
So far, I have tried, but I have to create 15 sub-reports.
Is there a way I can do it, but just define 3 sub-reports, with each
subreport printed 5 times in various positions?
Many thanks,
Edward Benson.
This discussion has been closed.
Comments
have described what you want it to do, it might be possible for A and B.
Subreport A, it might be possible to configure it to print in 3 columns with
LeftToRight traversal, using a group header badn to shift the bottom column
over one position. Subreport B can be easily accomplished by not setting to
shift relative to anything. Just let let it print TopToBottom for the 5
records. It is going to be more work than it is worth to get subreport C to
print in the manner you have outlined. Subreports are free-form, however,
they print detailbands uniformly from to to bottom or from left to right
based on its Detailband.ColumnTraversal property. I could see where is
would be cool to have a label type (maybe call it a grid style) of subreport
where you could define the cell positions and order that the subreport would
generate in. Through a grid editor, you could choose the starting and
ending cell in the grid that the subreport will generate. You can also
specify the path the subreport will take generating. This would be limited
to static height detail bands for printing labels, but in your case it would
be useful. It could also be used to natively support label skipping when
printing Avery labels.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com