Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>
>>If I am using the combo alone, and doing it right, where am I adding the new value to the controlsource table, and where am I executing the combo.Additem() method?
>
>When a user types in a value into a combo box and hits enter and the value is not on the list of the combobox, the additem method should fire. In that method you need to put the code to add the current value to your control source (table, cursor, array etc). Then requery the combo box to update it from its controlsource.
>
>I also like to put a wait window saying 'Entry not on list, will add to list' so user knows he is creating a new entry on the list.
>
>HTH
I get it. I'll have to try that sometime. In my case, I'll probably keep my combo-textbox thing because I never wanted to add new stuff to the combo anyway. I just wanted it in the table. Thanks.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement