I want to be able to input an item into a combobox that is data bound. If this is possible.
I have a combobox that is bound to a table. I use this combobox to display a set of items from a table, each of which defines a type of document, e.g., SOP, Drawing.
cboDoc.Enabled = True
cboDoc.TabIndex = 2
cboDoc.TabStop = True
cboDoc.DataSource = DocBindingSource
cboDoc.ValueMember = "DocType"
cboDoc.DisplayMember = "DocType"
With the above property settings this combobox allows the user to select one of the document types to later input into a record.
What I want to do, in addition to this is two things. The first is for the user to be able to input a value to the record. The properties, as set, already allow for this.
The second is to be able to save the input string value back into the table bound to the combobox.
I have not been able to uncover how this is done with my current review of material and/or queries.