TREE View - anyway to grab the Prior, and its Prior ids?
Hi, I have a Tree View.
I have branches that can be apart of more than one trunk.
If I click on a branch I want to also know what its parent is, and its parent (unless it is already at the top)
If I click on Person I want to know Budget, which is the same, but also Expense Report 13
Trunk One
---Expense Report 13
------Budget
---------- Person <====================== click
Trunk Two
---Expense Report 24
------Budget
---------- Person
So in the SQL I thought about Analytic Function Prior but I need 2 levels... and can we use that in a tree SQL?