>The dim command only reserves memory locations for the Class
>
>To actually have something created as a Myproperty object you must use the Set MyProperty = New MyFormClass
>
>This will create a new object MyProperty containing MyFormClass.
>
>Until you used the set command MyProperty contains nothing.
>
>Think of it in the same way as if you would use a database
>
>Dim Mydb as database 'reserves memory space into which you can put a database object.
>
>Set Mydb = Opendatabase("DatabaseNAme") 'actually opens the database in the reserved space for it.
>
>You need to do the same.
>I think ;-), haven't tested it for you though ;-)
Thanks, I will try you suggestion.
I'm used to oObject=CREATEOBJECT('MyClass') and I need to get use to VB syntax. :)