>>Hi,
>>Thank you for your sample code and info. Seem, I do it wrongly at the beginning, save data in defined relationship. Could you tell me, how should I define the level?
>>
>>Ex.
>>Item
>>A01, B01, C01
>>
>>Package
>>AA01 - A01, B01
>>BB01 - AA01, C01
>>
>>Refer to the case above, What is the level for AA01 and C01?
>>
>>Thank you
>
>John,
>Think as a treeview (or dir listing). You could look above as :
>
>UPPERNODE
> +--BB01
> +--AA01
> | +---A01
> | +---B01
> +--C01
>
>Given this for this particular branch data would look like :
>
>NodeId ParentId
>------ --------
>BB01 UPPERNODE
>AA01 BB01
>A01 AA01
>B01 AA01
>C01 BB01
>
Notice that with this scheme you can insert any indiviual node under any parentnode just like directories (ie: item 'system' could exist under 'windows' and also say under 'mydir' with all its subdirs or alone or with some of its subdirs).
>Cetin
BTW don't let NodeIds misguide you. NodeId would be unique and in fact A01, AA01 etc goes into another field (ie.NodeText, NodeValue, NodeData..). I used them here for NodeIds just for you to follow.
Cetin