×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

i'm trying to work my way UP a tree

i'm trying to work my way UP a tree

i'm trying to work my way UP a tree

(OP)
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

RE: i'm trying to work my way UP a tree

(OP)
oops. this is the picture i'm refering to.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources