Get value from combobox into a textbox
Posted on 2003-03-19
I have a database with two forms the first form is called "customer" and on this form there is a button called "add machine" which is calling a second form called "machine". On the form called "machine" I have a combobox called frontbrand and another combobox called rearbrand the values in the comboboxes I entered manually, there is 6 different names to choose between in the comboboxes e.g (Patric, Tomas, Linus ,Nora,Olaf ,Anna) (same names in both comboboxes). On the first form which is called "customer" I have a 6 text boxes one for each name, now, if the users selects Anna in one combobox and Olaf in the other I want these choises to be presented in the text boxes like A1 and O1 and if Anna is selected in both comboboxes it should be presented in the textbox A2.
Please does anyone know how to solve this?
Thanks in advance!