Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box, Allowing User Input Causes Table to GOTO BOTT
Message
De
16/07/1998 16:33:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00118311
Message ID:
00118337
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform