showing only certain records

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In the query i designed i have duplicate units but with unique work order
numbers, so they are not duplicate records, however i want to show only the
record with the highest WO #. What's the best way of going about this?

Thanks
 
In the query i designed i have duplicate units but with unique work order
numbers, so they are not duplicate records, however i want to show only the
record with the highest WO #. What's the best way of going about this?

Thanks

use a totals query and use MAX on the WO#. Then you may have to join
that back to your original table to show the other fields, because you
can only have fields that are in the grouping(s) and grouping
functions (MIN, MAX etc) in your query.
 

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