BUG: ComboBox and ListBox Data Moves when Using Slide ControlLast reviewed: April 25, 1997Article ID: Q162546 |
The information in this article applies to:
SYMPTOMSUsing the Slide control on the scroll bar of a dropped-down combo box or a list box causes the data in the combo box or list box to jump around erratically.
CAUSESetting the order on the table that is used as the RowSource property for the combo box or list box causes this behavior.
RESOLUTIONOne workaround is to use an ARRAY as the RowSourceType property of the combo box or list box. Another workaround is to use a SQL - STATEMENT as the RowSourceType. However, if the ORDER clause is used, it may be necessary to force Visual FoxPro to create an actual temporary cursor on disk of the query results. This can be done by adding a non-existing column to the resulting cursor as in the following example:
SELECT <desired_field>,.F. FROM <table_name> ; ORDER BY <desired_field> INTO CURSOR temp STATUSMicrosoft has confirmed this to be a problem 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 Behavior
REFERENCESFor more information about forcing SQL-SELECT to create a temporary file, please see the following article(s) in the Microsoft Knowledge Base:
ARTICLE-ID: Q109584 TITLE : How To Force SELECT-SQL to Create Temp File for Cursor |
Additional query words: 5.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |