General information
Category:
Forms & Form designer
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only