Your child form using a Default DS will inherit the DS in which it was created in. So if you are issuing a CreateObject while in the Parent form, that new form should inherit that Parent form's DS. It should not matter what class lib is used when creating the form.
>Mark,
>
>So that explained why I got that form behavior with regard to data session
>because I instantiated the child form by using CreateObject on form base class
>instead of using DO FORM command, right?
>
>Kam.
>
>>The one situation where this will not happen is if the parent form launches a >child form with a goApp.DoForm('mychildform'). This child form that is set to >use the default datasession will inherit the datasession in which the goApp >object was instanciated [probaby the VFP DS -- DS #1].
>
>>For the child form to inherit the parent DS, you have to DO FORM MYCHILDFORM >directly from the parent form.
Mark McCasland
Midlothian, TX USA