Nadya,
There was a thread about this on the newsgroup within the last couple of days. The problem is the object is holding the DS open. The workaround is to change to the default DS before the createobject() and restore it to the PDS afterwards. Or just have the object created in the default DS before the form starts.
> I discussed this issue with my colleague, and he explained to me, why does it happen. This is the second case, which you mentioned.
>If the form invokes creation or instancination of an object (in this particular case custom class ErrorHandler), this object catches DS and untill it releases, the DS doesn't go away.
>
> In our conversation I called it VFP-bug, but he called it Undocumented VFP feature...