I have find this method:
subform.SourceObject = "name form"
but this have a problem because don't create a new istance of form but refers it.
this soluction don't permit set in subform a new istance of main form, and when i set:
mainform.subform.SourceObject ="name mainform"
the subform don't view a form but is white.
----------------------
http://www.interbyte.it