>Hi Dragan,
>
>I can create an instance of oCore inside oCust, but i loose the values that i set like oCore.cUserName = "Joao", or probably i missing something here!!
Then you have two instances and they don't know of each other. Whatever you do to one of them is independent from the other one.
So then better create a method in oCust to which you'll pass oCore as a parameter, then set its properties as you like, and you'll have them when it returns.