Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

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

Discussion in 'Information Technology' started by Danny, Nov 15, 2005.

  1. Danny

    Danny
    Expand Collapse
    Guest

    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
     
  2. Loading...

    Similar Threads Forum Date
    Ashdoc's Movie Review---Rings Theatre, Movies & Cinema Thursday at 11:04 PM
    Ashdoc's Movie Review---Kaabil Theatre, Movies & Cinema Feb 2, 2017
    Ashdoc's Movie Review---Raees Theatre, Movies & Cinema Jan 26, 2017
    Ashdoc's Movie Review---The Bye Bye Man Theatre, Movies & Cinema Jan 25, 2017
    Ashdoc's Movie Review---Dangal Theatre, Movies & Cinema Dec 25, 2016

  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    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


    "Danny" <daneel.marais@spectra-medic.co.za> wrote in message
    news:1131961888.154387.94940@o13g2000cwo.googlegroups.com...
    > 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
    >
     

Share This Page