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---Force 2 Theatre, Movies & Cinema Nov 20, 2016
    Ashdoc's Movie Review---Rock On 2 Theatre, Movies & Cinema Nov 13, 2016
    Movies Alternate View - Review Of 'PROMETHEUS' Theatre, Movies & Cinema Nov 12, 2016
    Ashdoc's Movie Review---Mr Church Theatre, Movies & Cinema Nov 5, 2016
    Ashdoc's Movie Review---Ae Dil Hain Mushkil Theatre, Movies & Cinema Nov 1, 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