Page 1 of 3

Concatenating DataBand Field Data

Posted: Wed Oct 30, 2013 5:40 pm
by ACordero
Hi,

I'm currently working on a statement template which lists all of the unique invoices sent out (pulled in the DataBand). Is there any way I can put a field into the PageHeaderBand that could pull in all those unique invoice numbers? Right now, it only pulls one invoice number.

Thank you,
Ashley

Re: Concatenating DataBand Field Data

Posted: Thu Oct 31, 2013 6:33 am
by HighAley
Hello.

You could try to use next function:

Code: Select all

{Func.EngineHelper.JoinColumnContent(DatatableName, "ColumnName", ", ")}
Thank you.

Re: Concatenating DataBand Field Data

Posted: Tue Nov 12, 2013 7:16 pm
by ACordero
Thank you Aleksey, that worked, however i am getting duplicate invoice numbers. Is there anyway to only get the distinct invoice numbers?

Re: Concatenating DataBand Field Data

Posted: Wed Nov 13, 2013 6:24 am
by Alex K.
Hello,

Please try to add the additional datasource (Data from other DataSource) with grouping by invoice numbers and then show these grouping data.

Thank you.

Re: Concatenating DataBand Field Data

Posted: Fri Nov 15, 2013 11:50 pm
by ACordero
That worked, but now I'm encountering another issue. I currently have the GroupHeaderBand1 set to 'New Page Before' = True so that my unique report will generate per customer. Each customer has a unique set of invoice numbers, however, it is showing all of the invoice numbers in that top corner instead of just the ones for that customer. Is there a way to only show the invoice numbers from the customers on that page?

Thanks!

Re: Concatenating DataBand Field Data

Posted: Mon Nov 18, 2013 8:46 am
by Alex K.
Hello,

Can you please send us your report with test data for analysis.

Thank you.

Re: Concatenating DataBand Field Data

Posted: Mon Nov 18, 2013 11:55 am
by HighAley
Hello.

Maybe you could try to use Group Header band instead of the Page Header.
We will be able to help you if you send us your report with sample data to reproduce the issue.

Thank you.

Re: Concatenating DataBand Field Data

Posted: Mon Nov 18, 2013 9:43 pm
by ACordero
Aleksey, It looks like my attachments were not posted or removed for some reason? Here they are again. Also, I tried using the group header and it didn't work.

Thanks,

Re: Concatenating DataBand Field Data

Posted: Tue Nov 19, 2013 11:38 am
by Alex K.
Hello,

Please check the modified report in the attachment.

Thank you.

Re: Concatenating DataBand Field Data

Posted: Tue Nov 19, 2013 3:20 pm
by ACordero
Thank you for your response. Unfortunately, that invoice # field is showing us as UNDEFINED COMPONENT and I receive the following errors when I try to preview:

Undefined component
Undefined 'Panel1' component is found in the report. The reporting tool cannot identify this component. Maybe this is a custom component. The report cannot be rendered!