Data list and multiple childs

Stimulsoft Reports.Net discussion
Post Reply
jbartoli
Posts: 2
Joined: Mon Mar 12, 2018 10:29 am

Data list and multiple childs

Post by jbartoli » Mon Mar 12, 2018 10:44 am

Hello,

First, I am sorry f this question has already been asked & solved.
Did a bit of search, but didn't found any successfull answer, which fit with my current needs.

Here what I need.
I need to have multiple imbricated list to display.

For each step, I will need to display some information about the current List (just for the current entity / group.
Here is a spectacular piece of art, to explain.
Image

As we can see, I have multiple entity.
I want to get all customer, ordered by Road, and then landmark.

Working with Stimulsoft 2012, how can I manage to display these data?
(display Road label, then all landmark label, with their customer child.


If anything isn't clear for you, please, let me know.
(I'm sure this isn't that much clear, but hope you'll get what I'm trying to do)
Alex K.
Posts: 6476
Joined: Thu Jul 29, 2010 2:37 am

Re: Data list and multiple childs

Post by Alex K. » Mon Mar 12, 2018 9:52 pm

Hello,

You can use the HierarhicalBand for this task.

Thank you.
Attachments
Capture.PNG
Capture.PNG (57.31 KiB) Viewed 154 times
5. Tree with Locked Components.mrt
(34.22 KiB) Downloaded 11 times
jbartoli
Posts: 2
Joined: Mon Mar 12, 2018 10:29 am

Re: Data list and multiple childs

Post by jbartoli » Tue Mar 13, 2018 9:25 am

Hello,

Thank you for the example.
Is it possible to get more details, or a link to the documentation about how manage linked entity / sub-entity, and manage entity dependencies.

Here, I see your Employees entity beeing dependant to Employees (bind on EmployeeID, linked on ReportsTo)
And I'm facing difficulties about undertanding how to link / manage dependencies for my 3 entities, and how to display them all on the hiearchic tree.

Thank you in advance.

EDIT: In my case, here what I understood from the example.

Hiearchic need 2 data to work.
Key column: What will be the "PK" of the column, or will define the current entity.
Master Key column: What is the dependence value, from PK.

In your example, you are displaying each customer by ID, and the ReportsTo is binded to the Employee ID, which make different hiearchic level.
Now, in my case, I got theses datas, and don't see how I can use the same system.

Lines
- Vehicles
- Stops
- Customer

Attached is what I started to do with.
I'm really not sure about dependencies, since the head level, for me, is customer, and I want it to be Lines.
(But, What I need to display is customer data, ordered by Lines, then vehicles, then stops. (each time, with the entity label)
Attachments
tmpSubList.mrt
(14.58 KiB) Downloaded 16 times
Alex K.
Posts: 6476
Joined: Thu Jul 29, 2010 2:37 am

Re: Data list and multiple childs

Post by Alex K. » Thu Mar 15, 2018 6:58 am

Hello,

In this case, you can try to combine Hierarchical band and master-detail construction in your report.

Thank you.
Post Reply