BUG: DataControl Doesn't Send Notifications at Design Time

Last reviewed: December 5, 1996
Article ID: Q153549
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic for Windows, 16-bit and 32-bit, version 4.0

SYMPTOMS

Visual Basic 4.0's Data Control does not send notifications to its clients when the RecordSource property is changed.

WORKAROUND

Close the form containing the Datacontrol; then open it again. Or run the program, and go back into the IDE. The correct list of fields will now show up in the Listfield property of the DBList control.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Add a Data control and a DBList control to a new form in a new project in Visual Basic 4.0.

  2. Set the Database name property of the DataControl to biblio.mdb and the RecordSource property of the Data control to the Authors table.

  3. Set the Datasource property of the DBList to Data1 and the ListField property to author.

  4. Change the Recordsource property of DataControl to the Titles table.

  5. Go back to the DBList control, and click the pick list button of the Listfield property. You will not see the new fields for the new table.

NOTE: The Remote DataControl works correctly in this respect.


Additional reference words: 4.00 vb4win vb4all vbctrl
KBCategory: kbusage kbole kbbuglist
KBSubcategory: IAPOLE
\


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 5, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.