Carmen,
Thanks for the coding. Actually I am not really understand
the treeView-Control. I have question here; there are two fields ID, Parent_Id.
Is that create by myself or the system will create itself ?No, sorry not to be clear. ID and ParentID are terms I normally use in
these kind of contructs. This does not have anything to do with coding the
treeview.
I try to make this clear:
You have Members A, B, C, D and E.
A, B, C, D and E would be what I call the ID.
Now if Member B and C have been recruted by A, now standing "below" them
B's and C's ParentID would be A. It's just like You had INTRODUCER and MEMBER
in Your example. The MEMBER's ParentID would be the INTRODUCER's ID
Thus representing a structure like that
A
|--B
|--C
|--D
|--E
B
C
|--D
|--E
Is that more clear?
Concerning the Use of the Treeview, you will have to find some documentation
and "learn" how to code them. If using the TreeView from Microsoft. There
is Info how to use it in the Help-file and the samples. You can also find
some on the MSKB
HTH