Results 1 to 5 of 5
  1. #1
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145

    Single Field Combo Box to Add Source Table.

    Hi Forum,



    Is there a way to code on a Form with a combo box, but instead from choosing from the list, user enters its own text and that text gets added onto the table where it is sourced from.

    Thanks,
    Raymond Chow

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Search on "notinlist", which should turn up the 2 basic methods, both of which use the combo's not in list event.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Actually, the Boys of Redmond made it easier, as of v2007! I assume these instructions are still accurate for later versions:

    In Form Design View:

    1. Right-Click the Combobox Control
    2. Click on Properties
    3. Go to the Data Tab
    4. In the List Items Edit Form Property, enter the name of the Form where the items in the Combobox were originally entered


    When you find out that the item is not in the Combobox :

    1. Select any item from the Combobox
    2. Right-Click on the Combobox
    3. From the popup menu select Edit List Items
    4. Your Form will come up automatically
    5. Enter the new item's data
    6. Close the Form
    7. Now select the new Item from the Combobox

    Linq ;0)>

  4. #4
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145
    Quote Originally Posted by Missinglinq View Post
    Actually, the Boys of Redmond made it easier, as of v2007! I assume these instructions are still accurate for later versions:

    In Form Design View:

    1. Right-Click the Combobox Control
    2. Click on Properties
    3. Go to the Data Tab
    4. In the List Items Edit Form Property, enter the name of the Form where the items in the Combobox were originally entered


    When you find out that the item is not in the Combobox :

    1. Select any item from the Combobox
    2. Right-Click on the Combobox
    3. From the popup menu select Edit List Items
    4. Your Form will come up automatically
    5. Enter the new item's data
    6. Close the Form
    7. Now select the new Item from the Combobox

    Linq ;0)>
    Hmmm doesn't seem to work. I actually another thing I want to do instead.. If I want to expand the combo list, so like the combo values are "Hi", "There", "Friend". Single values will only allow you to select one of the 3; however, I can make still put them altogether at once because I allow edits. Is there a way to make them able to auto find the word say I started "Hi, "Fr....".... Access should find "Friend" when I type in "Fr".

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Closing this thread since you've posted an updated question:

    https://www.accessforums.net/showthread.php?t=67842
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Append Query for a Table with a Single Field
    By Kluaoha in forum Queries
    Replies: 4
    Last Post: 08-01-2017, 03:09 PM
  2. Replies: 6
    Last Post: 05-18-2017, 08:33 AM
  3. Missing row source of a field in a linked table
    By moon-ray in forum Import/Export Data
    Replies: 9
    Last Post: 12-05-2014, 11:38 PM
  4. Replies: 1
    Last Post: 11-28-2013, 10:03 PM
  5. Changing the data source for a table field with a form
    By WildcatMatt92 in forum Database Design
    Replies: 3
    Last Post: 11-30-2011, 03:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums