Results 1 to 4 of 4
  1. #1
    ellixer is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Nov 2010
    Posts
    35

    Tables

    With my joing table, is there a way to show what the id represents when you click on it, i believe ive seen something like it before. its like a hidden combo box or something? the id shows but not the name attached.

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    I don't understand the question. What do you mean by "joing table" and "what the id represents"?

  3. #3
    ellixer is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Nov 2010
    Posts
    35
    ie

    Tbl1
    PKthingID
    thing

    Tbl2
    PKtbl2ID
    userID
    thingID

    I want to know what the id number for thing stands for wihtout having to lool it up. ie thing 1 = fruit, thing 2= meat.

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    You wont be able to do it by just clicking on it. You would have to run a query for it to show. That is the purpose of a relational database. Simply open up a new query in SQL view and paste in:

    SELECT Tbl2.PKtbl2ID, Tbl1.thing
    FROM Tbl1 INNER JOIN Tbl2 ON tbl1.PKthinkID = Tbl2.thingID

    That will show you the Tbl2 ID as well as its corresponding "thing"

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

Similar Threads

  1. Replies: 8
    Last Post: 05-25-2010, 04:50 AM
  2. linking tables to other tables
    By detlion1643 in forum Access
    Replies: 1
    Last Post: 01-25-2010, 12:33 PM
  3. Joining tables two tables and another table that is not
    By DevintheDude in forum Database Design
    Replies: 0
    Last Post: 09-12-2007, 08:56 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