Connecting Tech Pros Worldwide Forums | Help | Site Map

Combo Box Wizard

Newbie
 
Join Date: Nov 2006
Posts: 25
#1: Sep 13 '07
I have developed several Access databases for my company so, I'm not exactly new but I have a simple question.
If you create a Combo box using the toolbox menu bar. The wizard appears. One of the options the wizard asks is whether you want to store the selection from the combo box in a table or have Access remember the selection for later use.
Once the combo box has been created where in the properties can you go to change this? Or is it simply the Control source property with "unbound" being the "remember for later" option? And if I set the control source to a field and allow users to type something new into the combo box instead of selecting from the list will what they type appear as a new entry in that table/field?

Thanks!

JConsulting's Avatar
Expert
 
Join Date: Apr 2007
Location: Houston
Posts: 601
#2: Sep 13 '07

re: Combo Box Wizard


Quote:

Originally Posted by teric2

I have developed several Access databases for my company so, I'm not exactly new but I have a simple question.
If you create a Combo box using the toolbox menu bar. The wizard appears. One of the options the wizard asks is whether you want to store the selection from the combo box in a table or have Access remember the selection for later use.
Once the combo box has been created where in the properties can you go to change this? Or is it simply the Control source property with "unbound" being the "remember for later" option? And if I set the control source to a field and allow users to type something new into the combo box instead of selecting from the list will what they type appear as a new entry in that table/field?

Thanks!

You have it exactly right. tying a control source to a combo box means that whatever bound column is identified in your combo, gets saved to the field you put as the control source. This option is also available at the table level by developing a "Lookup" field and defining the field type as Combo box.
J
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,219
#3: Sep 13 '07

re: Combo Box Wizard


Quote:

Originally Posted by teric2

I have developed several Access databases for my company so, I'm not exactly new but I have a simple question.
If you create a Combo box using the toolbox menu bar. The wizard appears. One of the options the wizard asks is whether you want to store the selection from the combo box in a table or have Access remember the selection for later use.
Once the combo box has been created where in the properties can you go to change this? Or is it simply the Control source property with "unbound" being the "remember for later" option? And if I set the control source to a field and allow users to type something new into the combo box instead of selecting from the list will what they type appear as a new entry in that table/field?

Thanks!

Quote:
Or is it simply the Control source property with "unbound" being the "remember for later" option?
You basically answered your own question.

Quote:
And if I set the control source to a field and allow users to type something new into the combo box instead of selecting from the list will what they type appear as a new entry in that table/field?
If the Limit To List Property is set to NO, the New Value will appear in the Field designated as the Control Source but will not appear in the Combo Box drop Down Menu. To do this, you must programmatically add it to the Record Source of the Combo Box via the NotInList() Event.
Newbie
 
Join Date: Nov 2006
Posts: 25
#4: Sep 13 '07

re: Combo Box Wizard


Thank you both for your replies.

Very Helpfull!!
Reply