Line number using ProcessingDuplicates

Stimulsoft Reports.WEB discussion
Post Reply
cherou
Posts: 9
Joined: Wed Mar 22, 2017 10:03 am

Line number using ProcessingDuplicates

Post by cherou »

I have a model with data columns. So, in first attachment you can see the results. The first column is the line number and i use the function {Line}. Some students are showed continuously, show i use GetTag with the Id of each student, which exists in data source, and Processing Duplicates: merged with tag. So, i have the result of second attachment. The function {Line} has the same result for the second case, but i want the function {Line} to count merged rows, as the third attachment.
Attachments
WithoutProcessingDuplicates.png
WithoutProcessingDuplicates.png (54.35 KiB) Viewed 2406 times
ProcessingDuplicates.png
ProcessingDuplicates.png (44.18 KiB) Viewed 2406 times
FinalResult.png
FinalResult.png (51.6 KiB) Viewed 2406 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Line number using ProcessingDuplicates

Post by Alex K. »

Hello,

You can add the Tag property for the Line text component and then set ProcessingDuplicates property by Tag value.

Thank you.
cherou
Posts: 9
Joined: Wed Mar 22, 2017 10:03 am

Re: Line number using ProcessingDuplicates

Post by cherou »

I have already used the tag property to merge rows and the property ProcessingDuplicate= BasedOnTagMerge
The row numbers are displayed by using the system variable {Line}
However it seems that the line numbers are not the merged ones.
Attachments
img1.png
img1.png (29.88 KiB) Viewed 2383 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Line number using ProcessingDuplicates

Post by HighAley »

Hello.

The Line variable shows the number of the line.
If you need to change the numbering, You could use the CountDistinctRunning() function of additional scripts in events.

Thank you.
Post Reply