i'm trying to work my way UP a tree.
currently, my "Search' finds all the components that i am looking for. they are nesed under a branch of my tree called 'Publications'. this is where i expect to find them. when i query item(i) for its parent name and type, i get name = Publications and type = Publications. this is correct.
what i want to do is find the parent(name) of the Publication branch. it will be either a Product or a Part. how do i do this?
i do NOT want to go all the way to the top of the tree, just one step.
basically, i want to get UpperParentName(lowerParentName(item))
refer to the attached peg: i want to know how to query for con1.
jewely
12/12/12
currently, my "Search' finds all the components that i am looking for. they are nesed under a branch of my tree called 'Publications'. this is where i expect to find them. when i query item(i) for its parent name and type, i get name = Publications and type = Publications. this is correct.
what i want to do is find the parent(name) of the Publication branch. it will be either a Product or a Part. how do i do this?
i do NOT want to go all the way to the top of the tree, just one step.
basically, i want to get UpperParentName(lowerParentName(item))
refer to the attached peg: i want to know how to query for con1.
jewely
12/12/12