David,
>
>There was a thread about this on the newsgroup within the last couple of days.
What newsgroup? Where can I find info about it?
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
It's an interesting idea. We'll think about it...
starts.
Yes, it was a solution, which we finally agreed. But may be first choice is even simpler.
>> 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...
If it's not broken, fix it until it is.
My Blog