commission updation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rekhasc
    New Member
    • Oct 2007
    • 66

    commission updation

    hi..
    can anyone help me to write the code for commission updation..am doing project for a store in which there is a scheme as tree,one person should be member of that scheme, he is like a root node of that scheme, under him there will be two members like child nodes of that root..again two node are added to the child nodes and so on..
    the root node gets 500/- as commission for first two child nodes.. and child nodes gets 500/- respectively for their child nodes and so on then root node gets 1000/- for this level...and it continues..

    how to write code for using treeview in vb6.0... please help me...my data base is MSAccess 2007....
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Are you trying to only display the data in tree view ?

    Comment

    • QVeen72
      Recognized Expert Top Contributor
      • Oct 2006
      • 1445

      #3
      Hi,

      You have to Traverse the Tree using Reccurssion... Find the Parent Node and Keep on Traversing till u reach the top level.

      Just a word of Caution :
      Since your project looks like a Chain Marketing..
      TreeView in VB6 can handle nodes up to 32767. It is a bug as said by M$.

      Regards
      Veena

      Comment

      Working...