Results 1 to 2 of 2
  1. #1
    Magnum45 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Aug 2016
    Posts
    1

    AutoPopulate field based on numerical value from seperate table

    Hello Gang,

    This is my first post and I'm hoping to get some great support! I have a specific issue and I need some guidance. I have MS Access 2013 and I'm trying to populate a field which currently contains numbers and change those numbers into company names. I have two tables. One table contains the name of the companies and next to it the associated numerical ID for the company name.

    Then I have a contact table which only contains the numerical ID in place of the company name. I need to auto populate that number and change it into a name. Or add another column and add the Company name to the contact table. Please any advice?



    Basically I need the company number to be the company name in my contacts table. See screenshot.

    -Magnum45
    Click image for larger version. 

Name:	AccessIssue.JPG 
Views:	7 
Size:	164.7 KB 
ID:	25353
    P.S. I'm an Access newbie so basic instruction will be appreciated!

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Welcome to the forum......


    Then I have a contact table which only contains the numerical ID in place of the company name. I need to auto populate that number and change it into a name. Or add another column and add the Company name to the contact table. Please any advice?
    OK, create a query and add the "contact" table and the "Companies" table.

    Drag the "Companies.ID" field to the "Contact.Company field".

    Add the fields to the grid that you want to see -> Contact.FName, Contact.LName, Companies.Text
    Execute the query - and there you have it - the company name instead of a number.


    ("ID" is a poor name, BTW)
    ("TEXT" is a reserved word in Access and shouldn't be used as an object name)

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

Similar Threads

  1. Replies: 8
    Last Post: 10-03-2014, 01:34 PM
  2. Sum numerical filed based on other field
    By BorisGomel in forum Access
    Replies: 0
    Last Post: 07-11-2012, 09:54 AM
  3. Replies: 20
    Last Post: 03-05-2012, 04:56 PM
  4. Replies: 1
    Last Post: 06-21-2011, 03:34 AM
  5. Replies: 9
    Last Post: 09-23-2010, 10:42 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