query help

  • Thread starter Thread starter Gary B
  • Start date Start date
G

Gary B

I have a MASTER-DETAIL (one-to-many) relationship.

If I do a JOIN, how can I return just ONE CHILD for every master?

Thank you.
 
Which Child record do you want? If it doesn't really matter which one,
make it a Totals Query (select Totals from the View menu in query design
view), leave Group By in the Totals row of the query design grid for the
relevant field(s) from the Master table, and enter First or Last in the
field from the Child table.
 

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