Howto view fields via query from table which have id's to other tables

  • Thread starter Thread starter Danny
  • Start date Start date
D

Danny

I have a simple table of a serialnumber, product and 'product used by'
fields. The product ussed by field has an id to another table of
users. I want to query all serialnumbers, products and update which
user used them. How do I view all fields?
Thank you
 
Use a Join on the 2 tables on the "product used by" field. Sort by the
username or ID to get the same ones together. Something like:

SELECT SerialNumber, Product, LastName, FirstName
FROM Products INNER JOIN Orders ON Users.EmployeeID = Products.EmployeeID
ORDER BY EmployeeID;
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top