Report with diferent labels from same dataset
I move all my reports from Rave to FastReports.
I have an report on A4 page with 2 or 3 columns of labels.
There are two types of labels that must print from same dataset.
For example 4 labels type A, 1 type B, 7 type A, etc....
In Rave it's simple with DataMirrorSection.
In FastReports I can do this (without columns) with with additional Child band and from script change Visible property of the MasterData and Child alternately.
But this do not work with columns because child bands do not have Columns property or do not use master Columns property.
I have an report on A4 page with 2 or 3 columns of labels.
There are two types of labels that must print from same dataset.
For example 4 labels type A, 1 type B, 7 type A, etc....
In Rave it's simple with DataMirrorSection.
In FastReports I can do this (without columns) with with additional Child band and from script change Visible property of the MasterData and Child alternately.
But this do not work with columns because child bands do not have Columns property or do not use master Columns property.
Comments
I have a child band and from script (MasterData1OnBeforePrint) I change Visible property alternately from MasterData to Child.
But the problem is that labels go from up do down, not from left to right.
And I do not know how to do a complex label (2 or more label types) and print one or other type of label without Child bands.
With child band is easy to change Visible property alternately from Master to Child.
One solution is to write a BIG script that change all into the label but and I do not like this.