Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox with RowSourceType as Query
Message
De
08/01/2000 13:32:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
ComboBox with RowSourceType as Query
Divers
Thread ID:
00314959
Message ID:
00314959
Vues:
55
Hi All,

I have a combo box which has a RowSourceType as Query and the RowSource is something like
"Select myfield1, myfield2 from Mytable Order By myfield1 Into Cursor Cursor_MyTable"
I have the property "Style" selected with option "2: Drop down combo" in order not to allow the user to type in a value which was not defined previously in that table. There were cases when the user selects an item but later prefers not to fill up the value in that Combo box. For this reason I had defined in the keypress event to check for Delete key and make this value blank if pressed. Is there a better approach to this?

P.S: I prefer not to add a blank record in the table for this reason.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform