Results 1 to 3 of 3
  1. #1
    sarsmelt is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2014
    Posts
    17

    Form to update primary table and combo box table

    I have a table, Product_Code, that includes multiple combo boxes from different tables (ie: Machines, Products, Screens).
    I have a form to enter new product codes that links directly to the Product_Code table but I need it to also add new choices to the Machines, Products, Screens combo boxes for the future.



    How can I do this?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Already marked solved - is it?

    If you want to do this 'on the fly' during data entry, use code in the combobox NotInList event to add record to the lookup table and requery the combobox. The combobox LimitToList property must also be set to Yes.
    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
    sarsmelt is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2014
    Posts
    17
    Quote Originally Posted by June7 View Post
    Already marked solved - is it?

    If you want to do this 'on the fly' during data entry, use code in the combobox NotInList event to add record to the lookup table and requery the combobox. The combobox LimitToList property must also be set to Yes.
    yeah I figured it out and didn't know how to delete it

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

Similar Threads

  1. Replies: 15
    Last Post: 07-22-2014, 07:32 PM
  2. Replies: 5
    Last Post: 02-16-2014, 02:50 PM
  3. Replies: 7
    Last Post: 09-21-2012, 11:09 AM
  4. Replies: 8
    Last Post: 03-22-2012, 08:48 AM
  5. Combo box to update table in a form
    By TG_W in forum Programming
    Replies: 1
    Last Post: 05-20-2010, 01:59 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