Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box, Allowing User Input Causes Table to GOTO BOTT
Message
From
16/07/1998 16:33:10
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00118311
Message ID:
00118337
Views:
14
>I have a Drop-down Combo whose RowSource is from a table providing an alphabetically indexed list of employee names. As long as the down-arrow button is clicked upon, and the user selects from the available names, everything is fine. However, when the user types a last name directly into the edit area, and the last name doesn't exist, the pointer always seems to go to the bottom, and then the associated records for that employee are displayed in a grid below. This is really not what I want for obvious reasons. If it went EOF(), I could test for that error condition in the ValidEvent of the cbo, but now I don't know what to do. In the meantime, I have changed the Style property of the cbo from 0 to 2 (Dropdown List) to disallow the edit area. Any help would be greatly appreciated. Thanks, CH.

You should make a choice: either you don't use temp relationships or you don't use table as combo.rowsource.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform