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
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