Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
changing items in combobox
I am trying to write a program for sports card collectors which will manage an access database. I am having trouble with my "Teams" combobox.
Here is basically what is supposed to happen:
I have a RadioGroup set up which contains the following choices:
Baseball, Basketball, Football, Hockey, Other
When you choose one of these, basketball for instance, a list of the NBA teams will be loaded into the Teams ComboBox.
When you get to the next record, if you would change it over to Baseball, the MLB teams will be loaded into the ComboBox.
My question is, is there a way to save off an array of these team names and then also is there a way to add the array to the ComboBox?
I've tried several methods but I have yet to find one that works.
Thanks in advance.
There are two ways to write error-free programs; only the third one works.
0 · ·