Possible to use CountData for child bands?

Stimulsoft Reports.NET discussion
Post Reply
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Possible to use CountData for child bands?

Post by Jennypi »

Hi,

In a report, I have one databand with 2 child bands that are printed in 2 different columns. It's working very well.
Now I would like to add something more complex. I would like to print as many child band as a number in a specific field.
Example:

Code: Select all

Name Address Articles
A   blablabla   2
B   fsfsfpjdf   1
C   jpojpoj    4
I would like to print:
A blablabla 1
A blablabla 2
B fsfsfpjdfi 1
C jpojpoj 1
C jpojpoj 2
C jpojpoj 3
C jpojpoj 4

I tried to do something based on another example that Edward gave me. But I don't know how to make it work with the child bands.
Could you please help?

Here is the link to my report:
Link

Thanks in advance!
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Possible to use CountData for child bands?

Post by Andrew »

Hello,

The ChildBand cannot have the CountData property, because it is a continuation of a band, after which it is placed.
In this case ChildBands are placed after DataBand1, and will be printed each time when the DataBand1 is printed.

Please send us an example of how your report should look like with ChildBands, and send a simple test database for your report.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Possible to use CountData for child bands?

Post by Jennypi »

Hi
I eventually found a solution thanks to this article from the KnowledgeBase.
Issue solved.

Thanks for your help.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Possible to use CountData for child bands?

Post by Andrew »

Hello,

Great! Have a nice day!

Thank you.
Post Reply