LOUISBUHAGIAR54
Registered User.
- Local time
- Today, 11:32
- Joined
- Mar 14, 2010
- Messages
- 157
I have a form on which there is a Combobox (Combo13). From the Combobox I can make various choices each one being a medical investigation.
I would like to populate a listbox on the same form, depending on choices which I make from Combo13. I would like to have the list updated so that each time i make a choice from Combo13 the choice is added on to the list.
I would then eventually enter the choices made into a table as I feel that it is not efficient to add the choices to tables before one confirms ALL the entries in the list.
I thought I would create a Public Array to take the choices from Combo13 and populate the list from the array.
I am encountering various problems namely,
Is my plan the best one to accomplish what I want to do ?
How do I create an array so that the choices which I make are not erased when the vba procedure finishes?
How do I reach an empty element of the array to be filled up with a new choice from the combobox.
Many thanks for your help?
LouisB
I would like to populate a listbox on the same form, depending on choices which I make from Combo13. I would like to have the list updated so that each time i make a choice from Combo13 the choice is added on to the list.
I would then eventually enter the choices made into a table as I feel that it is not efficient to add the choices to tables before one confirms ALL the entries in the list.
I thought I would create a Public Array to take the choices from Combo13 and populate the list from the array.
I am encountering various problems namely,
Is my plan the best one to accomplish what I want to do ?
How do I create an array so that the choices which I make are not erased when the vba procedure finishes?
How do I reach an empty element of the array to be filled up with a new choice from the combobox.
Many thanks for your help?
LouisB