BUG: Form Unload in Any DBGrid Event Ends Visual Basic (143048)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q143048 SYMPTOMS
Unloading a form with a DBGrid control by using the Unload statement in the
any event of the DBGrid control causes an application error that ends the
Visual Basic program.
The following are ways to work around this issue:
- Set the form to nothing prior to unloading the form.
-or-
- Unload the form in an event other than a DBGrid event.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. Microsoft is researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kbbug KB143048 |
---|
|