Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Selecting data from multiple tables

edited February 2006 in End User
I have 1 query that grabs customer info. I have another that grabs invoices
that customer has on file. However, How do I have the second query only
grab records for that customer? Instead of grabbing them all and linking
the table result to the customer query. But in this case I'm basically
doing a select all and really on want the few that go with that particular
customer?

Thanks,

glenn

Comments

  • edited February 2006
    Hi Glenn,

    You could either create a Master-Detail relationship between the two queries
    and link them. Then selecting a certain customer in the master will only
    return those records in the detail. You could also try simply joining both
    tables on the Master Key and selecting the customer as you need. Both
    options are available in DADE.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.