I am trying to build a hirearchy view with expanding buttons however I cannot figure out how to pull it and display it properly because of my table design. My table looks like this.
Proj_id, Proj_Desc, Parent_Proj_ID. The problem I am running into is that hierarchy is several layers deep in another words I
can have children, parents, grand parents and great grand parents in there.
I can have Proj_id =1 with Parent_Proj_ID=2 and in turn I can have another record for Proj_ID=2 that will have Parent_proj_id=3.
So what I am trying to do is to have format like this
Proj_ID3
Proj_ID2
Proj_ID1.
Thank you very much for you help.