>Hi all,
>
>Probably a stupid question, but I've created some objects to work with in my App, and now I'd like to write some code that actually copies one object to another. I'd try to do a simple A = B where A is the new initialized object and B is the original one, but that generates an(expected) error message.
>
>Anyone know some code to copy two objects?
>
>Thanks,
>
>Sebastiaan
Sebastiaan,
At designtime you could use cloneobject(). At runtime since you want to copy newly initialized ones, use addobject(). With addobject at the beginning only differing property would be name as it should.
Cetin