Page 1 of 2

Repeat twice a DataBand within a Group

Posted: Tue Jan 24, 2012 6:17 pm
by Jennypi
Hi

My report is built like this:
GroupHeaderBand
-DataBand
GroupFooterBand

It shows, for example:
A:
1
2
4
6
B:
2
3
7
9

I would like to repeat the list of records inside the databand, like this:
A :
1
2
4
6
-
1
2
4
6
B:
etc...
I've tried like this:
GroupHeaderBand
-Master DataBand
--Child DataBand with CountData=2
GroupFooterBand
but it shows this:
A:
1
1
2
2
4
4
6
6

How can I do what I want ?

Many thanks!

Repeat twice a DataBand within a Group

Posted: Wed Jan 25, 2012 3:00 am
by Alex K.
Hello,

It can be done using grouping.
You can use the wizard with two detail bands. For the master band create a data source (for example Data from other datasource), which will contain grouped data only. Detail bands will refer to the basic data source.

Thank you.


Repeat twice a DataBand within a Group

Posted: Thu Feb 02, 2012 7:15 pm
by Jennypi
Hi,

Thanks for your reply.
Sorry I don't get what you mean.
Maybe I was not clear, I will try to explain better that I want with 2 screenshots :
Here is here the designer looks today:
Image

Here is what is the preview today, and what I want:
Image

Here is the report.
Without data in it, sorry, but if you could show me how to organize bands and everything, that would be great.

Thanks!

Repeat twice a DataBand within a Group

Posted: Fri Feb 03, 2012 4:33 am
by Alex K.
Hello,

Please try to place the child databand twice.
Please see the sample report in attachment.

Thank you.

Repeat twice a DataBand within a Group

Posted: Fri Feb 03, 2012 1:15 pm
by Jennypi
Thanks, working perfectly!
One more question: how can I insert a header band in between the 2 child databands?
I'd like:
first headers
1
2
3
second headers
1
2
3
For the first headers it's easy, but for the second ones... ?
I tried to insert a databand in between, with datacount=1, but it's not working.

thanks!



Repeat twice a DataBand within a Group

Posted: Fri Feb 03, 2012 1:16 pm
by Jennypi
I've found how to do!
My in-between databand had no masterband... now that it's assigned, it's ok.

Thanks!

Repeat twice a DataBand within a Group

Posted: Sun Feb 05, 2012 11:36 pm
by Andrew
Hello,

Ok!

Let us know if you have any additional questions.
Thank you.

Re: Repeat twice a DataBand within a Group

Posted: Wed Jun 24, 2020 1:03 pm
by CWS116
Hi, My report is like this:

GroupHeaderBand1

GroupHeaderBand2
-DataBand1
GroupFooterBand2

GroupHeaderBand3
-DataBand2
GroupFooterBand3

GroupHeaderBand4
-DataBand3
GroupFooterBand4

GroupFooterBand1

I have a Group and three Databands. the GroupHeaderBand1 just grouping first databand(DataBand1) and other band not grouping with GroupHeaderBand1. How can I do grouping all databands with GroupHeaderBand1??

Re: Repeat twice a DataBand within a Group

Posted: Wed Jun 24, 2020 9:17 pm
by Lech Kulikowski
Hello,

In that case, you should use master-detail construction. Instead of the GroupHeaderBand1, you should use master DataBand.

Thank you.

Re: Repeat twice a DataBand within a Group

Posted: Sat Jun 27, 2020 9:06 am
by CWS116
Perfect, thank you!