PRB: RDC Refresh Method Failure with Bound DBListboxLast reviewed: July 14, 1997Article ID: Q154817 |
The information in this article applies to:
SYMPTOMSIf you change the SQL Property of a Remote Data Control with a bound DBListbox at run time, the refresh method doesn't show the changes in the DBListbox as it does for other controls. The Refresh method must be called twice.
RESOLUTIONRefresh the remote data control twice. Replace the Command1_Click in the previous sample with the code below:
Private Sub Command1_Click() ' Restrict the SQL to display only the authors whose last name ' start with an R MSRDC1.SQL = "SELECT * FROM Authors WHERE AU_Lname LIKE'R%'" MSRDC1.Refresh MSRDC1.Refresh End Sub STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem
REFERENCESBuilding Client / Server Applications with Visual Basic Chapter 11.
|
Additional query words: remote data control rdc
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |