HenryPotter
03-26-2009, 12:15 PM
Hi All,
I have defined a class called Market and have created an instance (Market1) to store the element inside the class.
Now I want to create an independent instance (Market2) that has the same value as my first instance but would not affect the value of the first instance.
I need to do that because I need to slightly change my second instance but not all elements inside.
I tried using Set Market2 = Market1 but this would link the elements together.
Does anybody have an idea how to achieve that?
Thanks a lot!
Henry
I have defined a class called Market and have created an instance (Market1) to store the element inside the class.
Now I want to create an independent instance (Market2) that has the same value as my first instance but would not affect the value of the first instance.
I need to do that because I need to slightly change my second instance but not all elements inside.
I tried using Set Market2 = Market1 but this would link the elements together.
Does anybody have an idea how to achieve that?
Thanks a lot!
Henry