Results 1 to 3 of 3
  1. #1
    Mike_UK is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2012
    Location
    UK
    Posts
    2

    Request : How do I add new data in form view with Combo box ?

    Hi,

    The advice I would like is for the following.



    I have a drop down in my form which looks at the entries in my recording artist table.
    If I have already created that artist within my table - the drop down in the form will recognize it.
    If I try to enter a new artist the error message "The text you entered isn't an item in the list. Select an item from the list, or enter text that matches one of these items" appears.

    So, I would like to add the new artist name in the form and for that artist to be automatically added to my table.

    Currently, I would have to go back to my table. Add the new artist record. Save the table. Close my open form. Reopen the form. The new artist name will then appear in the combo drop down.

    Thank you.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That can all be accomplished in the NotInList event which will fire if you set LimitToList true.

  3. #3
    Mike_UK is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2012
    Location
    UK
    Posts
    2
    Thank you RuralGuy.

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

Similar Threads

  1. Data not visible in Form view
    By CASmith in forum Forms
    Replies: 8
    Last Post: 12-23-2011, 04:02 PM
  2. Replies: 5
    Last Post: 05-20-2011, 06:18 AM
  3. Replies: 1
    Last Post: 11-23-2010, 10:41 AM
  4. Replies: 9
    Last Post: 02-19-2010, 12:07 PM
  5. Replies: 9
    Last Post: 03-24-2009, 09:19 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