Little master/detail label, printed more than once on the same page
Hi all,
D7Ent, RB7.04, WinXP
I have a landscape A4 page.
i want to print 4 identical (or multiple of 4) labels on it.
so, i've setted ppReport.Columns = 2
|------|------|
| | |
| | |
---------------
| | |
| | |
|------|------|
the problem i encounter is that the label data are in a master/detail relationship.
The only idea i have is to use "fake" dataset with replicated data but i'm
wondering if ther are better solutions.
Any ideas?
TIA to all.
Gianantonio
D7Ent, RB7.04, WinXP
I have a landscape A4 page.
i want to print 4 identical (or multiple of 4) labels on it.
so, i've setted ppReport.Columns = 2
|------|------|
| | |
| | |
---------------
| | |
| | |
|------|------|
the problem i encounter is that the label data are in a master/detail relationship.
The only idea i have is to use "fake" dataset with replicated data but i'm
wondering if ther are better solutions.
Any ideas?
TIA to all.
Gianantonio
This discussion has been closed.
Comments
I'm unclear about the problem you are encountering. If you place a
subreport inside the label an connect it to your detail dataset, is it not
printing out the correct data in your label? If you are having issues with
this, you might try joining all your data into one single dataset and then
using groups to separate the label information.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thanks for your quick reply.
Yes it is.
Sorry, but it is difficult to explain.
I'm able to correctly print ONE label, but my goal is to print FOUR identical
label into one page. My datasets contains data for ONE label.
I mean... i have to print more copies of the same label but on the same page.
If i set
ppreport.printersetup.copies := 4
I get four pages with ONE label each but i need to print 1 page with four labels.
If you are having issues with
Try setting the Report.DetailBand.BandsPerRecord to 4 and this should give
you the effect you are after. This is a published property and can be
accessed from the Delphi Object Inspector after clicking on the detail band
of your main report.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
right!
my error was so stupid!
i've built my label using the columnheader for master data....
your previous message about subreports clarified all things.
i will put master data in the detail band and detail data in a subreport.
Then i'll set up Report.DetailBand.BandsPerRecord to 4.
You're a genius, Nico!
Thanks a lot.
Gianantonio