I think the form's activate is refiring which is attempting to rebuild the tree without clearing it first causing the dup errors. As Viv noted, he probably should move his code so he can call it only when he needs to rebuild the tree, not every time the form's activate fires.
>But, Why would the error appear in the REPORT command? It should appear while building the tree, unless there is something Tariq is not telling us about his report. Are you trying to add nodes from within the Report, Tariq?
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"