Regular |
|
Joined: Thu Sep 09, 2004 6:46 pm Posts: 96
|
How do I copy children of an object to another similar obj?
i.e:
A - B
\
C - D -E -G
\ \
F H
1) copy to I so children of I look like children of A with just with
different parent key of I->
I - B
\
C - D -E -G
\ \
F H
2) Also what's the simplest way to duplicate A entirely to a different primary key.
To clarify the difference between the 1) and 2) is that I's information is not altered when copying children of A to I. With 2) an new parent is created with the same information contained in A.
Please advise as to best solution for both 1 and 2
Thanks,
Garry
|
|