I have two forms in question.
Form1 is a transaction database
Form2 is a customer database
When you are on form1 there is a combobox that is populated with customer names. If your customer name is not present, you click on a button to open form2 which has the customer data.
When form2 is saved and you close, I want to have the combobox on form1 updated. The code to update the combobox is simple, but i need to place it in an event on form1 (right now the code is in the click event of a button) but I want to have the code fire automatically when form2 closes.
Where could i place the code to have the combobox update upon the close of form2
Thanks in advance for any help.
Form1 is a transaction database
Form2 is a customer database
When you are on form1 there is a combobox that is populated with customer names. If your customer name is not present, you click on a button to open form2 which has the customer data.
When form2 is saved and you close, I want to have the combobox on form1 updated. The code to update the combobox is simple, but i need to place it in an event on form1 (right now the code is in the click event of a button) but I want to have the code fire automatically when form2 closes.
Where could i place the code to have the combobox update upon the close of form2
Thanks in advance for any help.