is this coming out of a database?
or simply a list?

im not sure with a list, with no other properties, that you can make
an intelligent choice which is a parent of which...

tw

On 6/2/05, Emmet McGovern <[EMAIL PROTECTED]> wrote:
> 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
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208361
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to