Data Grouping Inquiry
Posted: Thu Dec 12, 2024 9:35 pm
I have a report that currently groups data in a databand.
Within this databand, I need a new field that ammalgamates any unique value found in a sub-databand, grouped still by the parent databand. But the requirement is to not print each unique element on its own row, but a single row comma separated.
So, for a given DocketItem (docketitemid 1128)
I have 3 Units (UnitLoadUniqueNumber 48156, 46698, and 46699)
In this case, for each UnitLoadUniqueNumber the value of UnitTransactionJobNumber is 1238 for all 3.
So for my DocketItem Databand, I need a row that prints: 1238
without duplicating any of the data.
IF any of those UnitLoadUniqueNumber's had a different value, (say 1288 for example), then that row in my DocketItem databand should print 1238, 1288
I also need to not inject a bunch of extraneous empty space, as it will inflate the resulting PDF and cause extra pages of the Docket to print, when not necessary.
I've attached my MRT, my XSD, and a sample data output that our document generator service sends to Stimulsoft.
MOST of the template is working fine, I just need this new data element to function properly.
Currently I have attempted implementing a subReport, which I can get to print only the unique UnitTransactionJobNumbers, but it's doing so with a new row for each unique number, and also injects all that extraneous white space, which I've yet been unsuccessful in removing.
Any guidance or assistance would be most appreciated.
Thank you.
Within this databand, I need a new field that ammalgamates any unique value found in a sub-databand, grouped still by the parent databand. But the requirement is to not print each unique element on its own row, but a single row comma separated.
So, for a given DocketItem (docketitemid 1128)
I have 3 Units (UnitLoadUniqueNumber 48156, 46698, and 46699)
In this case, for each UnitLoadUniqueNumber the value of UnitTransactionJobNumber is 1238 for all 3.
So for my DocketItem Databand, I need a row that prints: 1238
without duplicating any of the data.
IF any of those UnitLoadUniqueNumber's had a different value, (say 1288 for example), then that row in my DocketItem databand should print 1238, 1288
I also need to not inject a bunch of extraneous empty space, as it will inflate the resulting PDF and cause extra pages of the Docket to print, when not necessary.
I've attached my MRT, my XSD, and a sample data output that our document generator service sends to Stimulsoft.
MOST of the template is working fine, I just need this new data element to function properly.
Currently I have attempted implementing a subReport, which I can get to print only the unique UnitTransactionJobNumbers, but it's doing so with a new row for each unique number, and also injects all that extraneous white space, which I've yet been unsuccessful in removing.
Any guidance or assistance would be most appreciated.
Thank you.