But where is this list coming from? With a parent ID you can't do it.


-----Original Message-----
From: Emmet McGovern [mailto:[EMAIL PROTECTED] 
Sent: Friday, 3 June 2005 12:30 AM
To: CF-Talk
Subject: RE: get parent items from list?

What I'm getting is a list of items in their tree hierarchy. I just need to
insert them in a database with their parent child relationships intact.

-----Original Message-----
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 02, 2005 10:21 AM
To: CF-Talk
Subject: RE: get parent items from list?

Without more information this request is not possible.

Is this coming from a database then use the original query to build a parent
child relationship, without and identifier which indicates what the parent
is then you can do what your asking.


-----Original Message-----
From: Emmet McGovern [mailto:[EMAIL PROTECTED] 
Sent: Friday, 3 June 2005 12:09 AM
To: CF-Talk
Subject: get parent items from list?

Brain Meltdown.  Maybe someone can help.

I have a list such as (item1,item2,item3,item4,item5).  The list can be any
length.  Item1 would be the parent of item2 and item2 would be the parent of
item3 and so on.  

What's the most efficient way of determining the parent of any item in the
list and determining that item1 has no parent?

Thanks,
Emmet









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208371
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to