The information in this article applies to:
SYMPTOMSSymptom 1When binding a DBList control to a Data control whose RecordSource property is set to a Select statement with a Where clause, the ScrollBars do not display on the DBList control. This is true even if the number of rows returned by the Select statement exceeds the list size of the control (the number of items DBList can display without scrolling).Symptom 2Also, if the height of the DBList control is set to display only one item at a time, the ScrollBars do not display on the DBList control.CAUSEThe DBList ScrollBar relies on the RecordCount property of the RecordSet. When using Select with a Where clause in the RecordSource property, RecordSet.RecordCount returns a value of 1. Usually this count is less than the maximum number of items DBList can display without scrolling, so ScrollBars are not displayed. WORKAROUNDListed below are different ways to work around this problem depending on the symptoms occurring: Symptom 1
-or- Symptom 2
STATUSMicrosoft has confirmed this to be a problem in the DBList control included with the products listed above. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce ProblemSymptom 1
Symptom 2
Additional query words: 4.00 buglist4.00 vb4win vb4all
Keywords : |
Last Reviewed: September 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |