>I've got a container with an number of Custom objects in it. As I process each object in the container, I may need to create another object in the container which is a copy of one of the existing objects and then change a couple of properties of the new object. When I assign the existing object to the new object, both are referencing the same single object - not separate objects.
>
>How do I create a new object in a container that is a copy of an existing object?
>
>TIA
Hi Leighton,
As an addition, if it's design time, then you could use CloneObject. Get object reference with aselobj().
If not designtime then addobject is the way to go I think.
Cetin