Results 1 to 4 of 4
  1. #1
    TastyMouse is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2013
    Posts
    2

    Accessing Data from a Lookup Table

    So I have this problem which is really bugging me.

    Say I have 2 tables. Table 1 has:
    A Name.
    A Phonenumber
    And an Address.

    Table 2 has:
    An Order
    A Lookup to the Name of Table one.



    My query is finding all people who have ordered a specific item, I use this query as a basis for a report, and I want that report to also contain the address an d phone number of ther person.

    Any help?

    Thanks

  2. #2
    Beetle is offline Unrelatable
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    Camp Swampy (Denver, CO)
    Posts
    207
    Join both tables in the query and return the additional fields that you need.

  3. #3
    TastyMouse is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2013
    Posts
    2
    Quote Originally Posted by Beetle View Post
    Join both tables in the query and return the additional fields that you need.
    So would I be able to create a calculated value in the query on table 2 like:
    [Table1].[Phonenumber]

    ?

  4. #4
    Beetle is offline Unrelatable
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    Camp Swampy (Denver, CO)
    Posts
    207
    It's not a calculated value, you're just returning fields from more than one table. It would look like this;

    Click image for larger version. 

Name:	Capture.PNG 
Views:	6 
Size:	23.4 KB 
ID:	12278

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

Similar Threads

  1. Replies: 3
    Last Post: 10-16-2012, 10:34 AM
  2. Accessing Data Import wizard via a macro?
    By Madraykin in forum Import/Export Data
    Replies: 6
    Last Post: 03-27-2012, 12:34 PM
  3. Accessing inputted data
    By kp123 in forum Access
    Replies: 9
    Last Post: 12-07-2011, 10:40 AM
  4. Using lookup data for table 1 mutible times in table 2
    By mbjazz in forum Database Design
    Replies: 5
    Last Post: 04-26-2011, 01:18 AM
  5. Accessing Table via asp Errors
    By KLynch0803 in forum Programming
    Replies: 1
    Last Post: 01-17-2010, 09: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