>Hi,
> I did receive ur sample code. Thank you. However, I face a problem that, My data in table is not "sorted" by dept number. Therefore, Once run the code (modified) you sent, it doesnt scan the record according to dept no instead ItemNo. What should I do to make it work well?>?
>
>Thank you
John,
In a treeview representation only NodeId,ParentId fields are vital and key fields used to collect data. Any other fields are just only for user. NodeDepth was a case shower there. It could be anything such as MemberEntryDate, MemberName etc. In sample (UT magazine June issue sample) check how testdata is represented.
Cetin