Microsoft KB Archive/153549

= BUG: DataControl Doesn't Send Notifications at Design Time =

Article ID: 153549

Article Last Modified on 7/16/2004

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q153549



SYMPTOMS
Visual Basic 4.0's Data Control does not send notifications to its clients when the RecordSource property is changed. 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.



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 query words: 4.00 vb4win vb4all vbctrl

Keywords: kbbug KB153549

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.