BUG: Removing DataEnvironment in Form Load Causes Fatal Error (192082)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q192082 SYMPTOMS
Using the RemoveObject method in the Load event of a form to remove the
DataEnvironment object, causes a fatal error message.
RESOLUTION
Move the following code from the Load event to the Init event of the form:
Thisform.RemoveObject("DataEnvironment")
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbbug kbnofix KB192082 |
---|
|