Hello all!
This is my problem I am currently having.... I have a table called "Summary" and it contains a fields called "Drug" and "Quantity" where I created a form by using the wizard and changed the text field of the drugs to a combo box.... and it loads the drugs in it... and there is another text box created for quantity.. but when I change the item in the combo box the value of the quantity field remains the same. I need it to be changed accordingly when the combo box value is changed. I tried to assign control source property of the quantity text field in the onChange event of the combo box, but I don't know how to do it correctly... Please help.. I have attached the db file here
This is my problem I am currently having.... I have a table called "Summary" and it contains a fields called "Drug" and "Quantity" where I created a form by using the wizard and changed the text field of the drugs to a combo box.... and it loads the drugs in it... and there is another text box created for quantity.. but when I change the item in the combo box the value of the quantity field remains the same. I need it to be changed accordingly when the combo box value is changed. I tried to assign control source property of the quantity text field in the onChange event of the combo box, but I don't know how to do it correctly... Please help.. I have attached the db file here