ID: Q121724
2.5x 2.60 2.60a WINDOWS kbprg kbbuglist
The information in this article applies to:
- Microsoft FoxPro for Windows versions 2.5, 2.5a, 2.5b, 2.6, 2.6a
When a List popup is defined with the PROMPT FIELD option in the Screen Builder, and the field displayed in the list box is the key field for that database and contains duplicate records, the navigation buttons no longer function when a duplicate field is reached.
To resolve the problem of the navigation buttons hanging in the list popup, you must ensure that the record values in the field referenced in the list are unique for each record in the file.
Microsoft has confirmed this to be a problem in FoxPro versions 2.5 and 2.6 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
1. Use the CUSTOMER database in the Tutorial subdirectory.
2. Create a new screen and use the Quick Screen option from the Screen
Menu to insert all the fields.
3. Create a List popup from the Screen Builder toolbar in Windows.
4. Select the From Field option in the List Items dialog box.
5. Choose the COMPANY field from the CUSTOMER database.
6. Place COMPANY as the variable for the list.
7. Size the field on the screen.
8. Create push button controls on the screen for top, next, prior, and
bottom ensuring that the SHOW GETS command is in the VALID.
9. From the Database Menu, choose Setup.
10. Create an Index Key for the COMPANY field and set the order to the
key.
11. Close and exit the Database Menu by pressing the OK push button.
12. From the Screen Menu, choose Screen Layout.
13. Choose the Save option of the Environment dialog box.
14. Press the OK push button to return to the screen.
15. From the Program Menu, choose Generate.
16. Select the File Menu menu and Close File option.
17. Use the CUSTOMER database from the command window or File Open
dialog box.
18. From the Command Window, type the following commands:
SCATTER MEMVAR
APPEND BLANK
GATHER MEMVAR
USE
19. From the Run Menu, choose Screens.
20. Choose the screen from the file dialog box.
21. Use the push buttons to navigate in the list popup.
22. When a duplicate record is displayed in the List popup, the push
buttons function incorrectly, hanging in the List popup containing
the duplicate records.
Additional reference words: FoxWin buglist2.50 buglist2.50a buglist2.50b
buglist2.60 buglist2.60a 2.50 2.50a 2.50b 2.60 2.60a freeze list
popup windows
KBCategory: kbprg kbbuglist
KBSubcategory: FxtoolSbuilder
Keywords : FxtoolSbuilder kbbuglist
Version : 2.5x 2.60 2.60a
Platform : WINDOWS
Last Reviewed: May 2, 1996