Flatten datasource at runtime

Stimulsoft Reports.NET discussion
Post Reply
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Flatten datasource at runtime

Post by xss »

Is there a way or component to flatten a datasource with conditions at runtime? Let's say there's a simple datatable with following 2 records:

Qty, Text
2, Fish 'n' Chips
3, Guiness

Now the result table (databand, ...) whatever should be flatten by qty (1) and look like this:
1, Fish 'n' Chips
1, Fish 'n' Chips
1, Guiness
1, Guiness
1, Guiness

Thanks in advance!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Flatten datasource at runtime

Post by Alex K. »

Hello,

Please see the sample report in attachment.

Thank you.
Attachments
1971.ReportSample.mrt
(17.15 KiB) Downloaded 234 times
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Flatten datasource at runtime

Post by xss »

Nice!

Thank you very much Aleksey.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Flatten datasource at runtime

Post by Andrew »

Hello,

This is pleasure to help you.

Thank you.
Post Reply