Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Here is the senario:
>
>I wish to have a combo box (ie Vendor Type) come up with a list of available Vendor Types, however if the user wishes to add a new type they would be able to type it in and it would be added to the list (appended to the vendor type table).
>
>The combo box is based on the table: v_type
>Fields:
>vtyp_cd (code)
>vtype_nm (name)
>
>Can anyone help?
>additional email: davidm@orcatec.com
I've done this. If the .value is not equal to the .displayvalue, then the text typed in is a new entry. Based on that, you can take the displayvalue and use it as the data to append to your vendor type table. Don't forget to make .value equal to .displayvalue when you finish.
HTH,
Bill
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