>>>When I use AddObject I have to provide a class for a new object. Can it be a class from a different vcx?
>>>
>>>Thanks
>>
>>Use NewObject in stead!
>And how NewObject adds an object to the form's object colleciton?
Not function, method.
The same way as AddObject :o)
thisform.NewObject("objName", [ClassName], [MyOtherClassLib.VCX])
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.