Say I have a form 'breakfast' that contains a combo box control which allows you to choose a fruit from a list of fruits. The list of fruits is obtained from a table called 'fruits'. Is there a way that I can add a new fruit to the list so I can choose it from the list?
I have tried the following without success:
When the value of the control is a fruit which is not in the list (i.e when the 'Not In List' event occurrs) I have enabled a new form called 'frmFruits' to open, this form allows you to search for a fruit and add a new fruit to the 'fruits' table. On closing this form I have tried refreshing the 'breakfast' form (by running the 'refresh' command when the 'On Close' event occurrs) but I get message stating ' error 2237 the item selected is not in the list'
I have tried the following without success:
When the value of the control is a fruit which is not in the list (i.e when the 'Not In List' event occurrs) I have enabled a new form called 'frmFruits' to open, this form allows you to search for a fruit and add a new fruit to the 'fruits' table. On closing this form I have tried refreshing the 'breakfast' form (by running the 'refresh' command when the 'On Close' event occurrs) but I get message stating ' error 2237 the item selected is not in the list'