Results 1 to 8 of 8
  1. #1
    chorne is offline Novice
    Windows 10 Access 2007
    Join Date
    Sep 2016
    Posts
    4

    Access autofill from one table to another

    I am new to access.



    I have created a table that list all of our Product #, products, sizes, and colors.

    I then have another table that we use as a log and individuals will be adding entries as they come in.

    I would like for the second table to autofill based off the Product # from the first table when selected.

    Can anyone help me with this??

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    This is what queries are for.
    Create an update query, join the 2 tables on the common field ,
    then update the fields needed.

  3. #3
    chorne is offline Novice
    Windows 10 Access 2007
    Join Date
    Sep 2016
    Posts
    4
    I have created an update query and joined the 2 tables. However, when i select the product # that is the only field that is filled in. The other fields are left blank.

  4. #4
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    I'm not sure why you are trying to repeat the data. The definition of a normalized database design is that fields are kept in only one place (among other rules), except for the primary key. So all you would carry on the second table is the key, the rest of the data is then retrieved thru subsequent queries, as and when you need to display them.

  5. #5
    chorne is offline Novice
    Windows 10 Access 2007
    Join Date
    Sep 2016
    Posts
    4
    I am not trying to repeat the data. I made a table as a legend for the different product #, size, and color. In the other table I want the users to enter each product when it comes in along with measurement information. But instead of them having to type all of the known data, I want to them to be able to type the product # and then the product information autofills itself. Then all they will have to input is the measurements taken.

    I am going about this the wrong way?

  6. #6
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Users should not be entering information directly on to a table - that is what Excel is for! Create a form where they enter the product # and the rest of the data is then retrieved and displayed.

  7. #7
    chorne is offline Novice
    Windows 10 Access 2007
    Join Date
    Sep 2016
    Posts
    4
    How do I get the form to auto-fill?

  8. #8
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    You will have to arrange for that to happen - once they enter a product id then you will retrieve the data and display it. This requires creating a form for the first table with a combo box for the product - which will display the data retrieved once they select one, and a subform linked to that product ID where the user can enter the log information for that product.

    Here's a good place to start: https://www.youtube.com/watch?v=-fQ-bRllhXc

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

Similar Threads

  1. Autofill field with data from other table
    By Gregory23 in forum Forms
    Replies: 1
    Last Post: 02-19-2016, 05:55 AM
  2. Replies: 1
    Last Post: 02-14-2015, 02:29 AM
  3. Replies: 5
    Last Post: 07-29-2013, 09:17 PM
  4. Replies: 3
    Last Post: 06-10-2013, 02:44 PM
  5. adding an autofill field from another table
    By loopyl00 in forum Access
    Replies: 3
    Last Post: 01-12-2011, 08:59 AM

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