I have one table INVOICEDETAILS that contains a PRODUCTID among other things. I want to create a combobox that gets all possible PRODUCTID values from the INVENTORY table but save the selected value to the INVOICEDETAILS table.
I can fill in the combobox with the INVENTORY values via the DATASOURCE property, but what I can't figure out is how to save the selected combobox value into INVOICEDETAILS. What is the best-practice way of accomplishing this?
I have been able to do this by making a dummy label bound to the INVOICEDETAILS PRODUCTID field and then updating the label TEXT value when the combobox changes, but 1) this seems like a kludge, and 2) the dummy label has to be set to VISIBLE for this to work.
Thanks!