Results 1 to 4 of 4
  1. #1
    vthomeschoolmom is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    5

    grid form with lookup column - easily adding a new row to the lookup


    I have a really simple database for keeping a price book. Click image for larger version. 

Name:	db.png 
Views:	8 
Size:	9.0 KB 
ID:	20615
    One of my forms is a Master form for ShoppingTrip with a subform for ShoppedItem. After I shop, I want to put all the items into the ShoppedItem for the ShoppingTrip. But if it is the first time I buy something, it will not yet be in Items. I don't want to have to zip over to Items, add the value, then refresh the drop down.

    What would be the best mechanism for letting me enter values, maybe directly into the column, and have them added to Items? I am not wedded to any specific solution. Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    That's what the combobox/listbox NotInList event is for. http://www.fontstuff.com/access/acctut20.htm
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    vthomeschoolmom is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    5
    Woot. I never knew that. Now I do. Thanks. Is there a mechanism for marking your post as the answer? I don't see it.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    No, can just mark the thread as resolved with Thread Tools dropdown above first post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-09-2014, 02:01 PM
  2. Replies: 4
    Last Post: 06-22-2014, 06:47 PM
  3. lookup from results grid
    By Phoenix_106 in forum Access
    Replies: 1
    Last Post: 10-16-2013, 08:11 AM
  4. Replies: 2
    Last Post: 01-01-2012, 09:32 AM
  5. Adding a lookup to a column
    By revnice in forum Access
    Replies: 4
    Last Post: 08-16-2010, 12:58 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