Hi,
What you need to do is in the query designer, you need to show both tables, and don't select the Foreign Key in the one table, but use the name from the employee table.
For example, using similar tables, instead of:
SELECT Order.CustomerID, Order.OrderID, Order.Item, Order.Qty
FROM Order
(this will show the Customer name in the query, but will only export the CustomerID)
DO this instead:
SELECT Customer.LastName, Customer.FirstName, Order.OrderID, Order.Item, Order.Qty
FROM Customer JOIN Order etc.
This will show the Customer FirstName and LastName (You can do [LastName] & ", " & [FirstName] As Name, etc) when you export the query results.
The important thing is to show the fields you want from the tables you want, and not the relationship fields in your queries. You will also get other negative results when creating reports etc.
Did this help?
mmcdonal
|