BUG: ScrollBars Don't Display on DBList ControlLast reviewed: November 19, 1996Article ID: Q137027 |
The information in this article applies to:
SYMPTOMS
Symptom 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
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 INFORMATION
Steps to Reproduce Problem
Symptom 1
Symptom 2
|
Additional reference words: 4.00 buglist4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |