Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

i'm trying to work my way UP a tree

Status
Not open for further replies.

jewely

Automotive
Joined
Dec 12, 2012
Messages
11
Location
US
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
 
oops. this is the picture i'm refering to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top