Re: node integrity when copying subtree in nested sets



Ed Prochak wrote:

Sorry, but I do not quite see the problem.
as a tree structure isn't it equivalent to this image?

groupA
+- groupB
+- groupC

In words: groupA is the parent of groupB which is the parent of groupC
Why would groupC exist twice?

Ed


The full tree in my example would look something like this:

groupA
groupC -+- groupB
+- groupC

Because groupC exists in groupA and in groupB. So, when I add a fourth group into groupC it would need to be added twice into this tree. This may be what I need to do, but I am just checking to see if there is a more efficient way to do it (somehow adding groups by reference or something...).

thanks for the reply!
--
bernie
.



Relevant Pages

  • Re: Problem with empty pages
    ... GroupB will be multiple pages I get a page with just the Group header on a ... That is followed by a page with the new GroupA, GroupB and GroupC ...
    (microsoft.public.vb.crystal)
  • Problem with empty pages
    ... GroupB will be multiple pages I get a page with just the Group header on a ... That is followed by a page with the new GroupA, GroupB and GroupC ...
    (microsoft.public.vb.crystal)
  • Re: node integrity when copying subtree in nested sets
    ... groupA is the parent of groupB which is the parent of groupC ... when I add a fourth group into groupC it would need to be added twice into this tree. ...
    (comp.databases)

Loading