Page 1 of 1

Labels according to columns with "x"

Posted: Fri Jun 10, 2016 8:26 am
by Jennypi
Hello,

One of my users submitted me a file from which he would like to print labels.
The file looks like this:
Sample | Test1 | Test2 | Test3
A | | x| x
B | x| | x
C| x |x| x

It would give 7 labels:
Sans titre.png
Sans titre.png (3.07 KiB) Viewed 1974 times
Do you have an example in your support DB which would help me to design such a report?
I've never done that before, so I don't know where to start...

Thanks for your help!

Re: Labels according to columns with "x"

Posted: Fri Jun 10, 2016 10:20 am
by Alex K.
Hello,

You can use the additional Child DataBand components and Conditions for them.

Thank you.

Re: Labels according to columns with "x"

Posted: Fri Jun 10, 2016 11:58 am
by Jennypi
Thanks for your reply.
One question: what is the benefit of having 2 datasources, compare to using only "Excel1" one? It seems that the second one only groups by the sample number, but couln't you use a GroupHeaderBand instead?

Re: Labels according to columns with "x"

Posted: Fri Jun 10, 2016 1:17 pm
by Alex K.
Hello,

You can remove second data source. Was added for tests.

Thank you.

Re: Labels according to columns with "x"

Posted: Fri Jun 10, 2016 1:22 pm
by Jennypi
OK thank you, I adapted your example and managed to have the report working perfectly for my need!

Re: Labels according to columns with "x"

Posted: Fri Jun 10, 2016 1:47 pm
by Alex K.
Hello

We are always glad to help you!
Let us know if you need any additional help.

Thank you.