Problem with my function

  • Thread starter Thread starter WStoreyII
  • Start date Start date
W

WStoreyII

I have made a function which will take all of the dates in a column and
convert them to nodes where the parent is the year adn the child and
grandkids are the month and day perspectively

the function works good it uses a couple of classes to acheive the desired
results

my problem is that if you click on the button to load the tree a second or
third time it just adds the same years again

for intstance if the first time i hit thebutton it loads

2006
2005
2004 then second time i hit it i get

2006
2005
2004
2006
2005
2004

so i put a tree.nodes.clear()
command at the begining of the click event but that did nothing
so i went through and cleared the hash tables that were used to parse the
dates and still the same problem
the code is to much to attach and is spread out over the app so if you need
to see more to help let me know and i could email it ?

Thanks for any help
WStoreyII

Merry Christmas
 
hi WStoreyII,

Y don't you send the code of the Button Click event alone.

Pls mail me your button click code along to (e-mail address removed), (e-mail address removed).

So that i can help u.

With regards,

Sadha Sivam S
 
Hi Sadha,

This is a newsgroup, where people learn from the trouble from others, this
is not a mailmessageboard, so please do not ask people to send code.

Thanks,

Cor
 
Back
Top