Adding a new entry to a table from a form's combobox 
Author Message
 Adding a new entry to a table from a form's combobox

Hello,

If I have a combo box on a form and I want the user to be
able to type in a new entry on the combo box, and then
have that entry saved to the table that populates the
combo box, how do I do that?

Thank you!

Kim



Mon, 10 Oct 2005 21:54:17 GMT  
 Adding a new entry to a table from a form's combobox
Hello Kimberly,

Set the Limit to List Property of your combo box to No.

--
Cheryl Fischer
Law/Sys Associates
Houston, TX


Quote:
> Hello,

> If I have a combo box on a form and I want the user to be
> able to type in a new entry on the combo box, and then
> have that entry saved to the table that populates the
> combo box, how do I do that?

> Thank you!

> Kim



Mon, 10 Oct 2005 22:02:59 GMT  
 Adding a new entry to a table from a form's combobox
Setting LimitToList to False won't work here.  What you want to do is set
LimitToList to True, then trap the NotInList event to add the new item (a
parameter called "NewData") to the source table.  For more information see
the Access help on the NotInList event.  Make sure and read the Note at the
end of the help section.

Mike


Quote:
> Hello Kimberly,

> Set the Limit to List Property of your combo box to No.

> --
> Cheryl Fischer
> Law/Sys Associates
> Houston, TX



> > Hello,

> > If I have a combo box on a form and I want the user to be
> > able to type in a new entry on the combo box, and then
> > have that entry saved to the table that populates the
> > combo box, how do I do that?

> > Thank you!

> > Kim



Tue, 11 Oct 2005 06:30:26 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. need help please:joined tables,add new entries based on one table columns

2. need help please:joined tables,add new entries based on one table columns

3. Newbie: Opening a form columnar format to add a new entry

4. Adding items to a GRID's Combobox from another table in VB

5. word VBA won't let me add a new record to an access table

6. Data View Window - can't add new table

7. ADO2.5, can't add new record to an empty table using record binding

8. Can't add new records when using Linked forms

9. Problem adding an entry to a combobox

10. Duplicate form entry problem with new form

11. Adding a new entry cont...

12. DBCombo Box for adding a new entry

 

 
Powered by phpBB® Forum Software