Results 1 to 3 of 3
  1. #1
    LamJam20 is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2019
    Posts
    3

    Exclamation Association and Autofill Help

    I will try to explain as easy as possible. I am new to Access and currently using it to track merchandise provided by brand.



    I have two table currently setup:
    1 - Manufacturer Information
    2 - Inventory

    I also have 2 forms:
    1 - Add Manufactuer
    2 - Add Inventory

    The Inventory form allows me to select a Manufacturer and then add it with a specific inventory piece. I have it setup where it is associating the manufacturer's name but I need it to also pull the telephone number and additional company info from the minute I select the manufacturer's name. However, what is currently happening is I select the name and it doesn't autofill (let's say telephone) but rather gives me all the telephone numbers of all the manufacturer's in the Manufacturer Information table.

    So i need to find a way to autofill a cell (in forms) when another cell is changed.

    Does that make sense? If so, please help.

  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,521
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Not sure what you mean by "gives me all the telephone numbers" - gives you where?

    Select manufacturer from a multi-column combobox. Combobox RowSource has columns for other manufacturer info. Expressions in textboxes reference combobox columns by index, index begins with 0: =cbxMftr.Column(2)

    Are you saving manufacturer ID into Inventory?

    And now I see Paul's reply which is the same suggestion.
    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. Table association Or dependent on field value
    By NickWren in forum Access
    Replies: 17
    Last Post: 01-04-2016, 03:42 PM
  2. Replies: 1
    Last Post: 02-14-2015, 02:29 AM
  3. Replies: 1
    Last Post: 11-02-2014, 12:01 PM
  4. Replies: 3
    Last Post: 02-07-2012, 06:33 AM
  5. Name Association
    By swagger18 in forum Programming
    Replies: 5
    Last Post: 11-23-2011, 01:06 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