I have an employee table with an "employeeID" autonumber (primary key). In another table I made a field called "employeeID" as a number, and used it as a foreign key field as I learned in the courses. Then I made a relationship between the employee table to the order table using a one-to-many relationship - one employee makes many orders. Now I am running queries and want to retrieve the employee name(s) from the foreign key table - but all I get are the employeeID numbers deposited from the table. Question: How do I associate the employeeID numbers back into names of employees? Many thanks.
Adam Schwanz 7 months ago
Bring in the table with the Employee name in it to the query. You should be able to link it togethor with the Employee ID. Then bring in the employee name field. That would be the ideal way, alternatively you could DLookup
Sami Shamma 7 months ago
Mark Fannin 7 months ago
Thanks for the help. You got me on the right track. I successfully set up a combined LEFT and RIGHT JOIN. I have a lot to learn. Seems like I always need to be two classes ahead of where I am.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
TechHelp.
The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.