counting records in query

V

Vince

I need to count the # of employees in a query. The problem
is the same EE File # may appear on multiple lines. How do
I count to include the multiple lines as 1, not 5. Thanks
 
V

Van T. Dinh

Use the DISTINCT keyword in your Query.

Check Access / JET SQL Help on "Distinct".
 
V

Vince

Can you give me an example
-----Original Message-----
Use the DISTINCT keyword in your Query.

Check Access / JET SQL Help on "Distinct".

--
HTH
Van T. Dinh
MVP (Access)



Thanks


.
 
V

Van T. Dinh

SELECT DISTINCT [EE File #]
FROM YourTable

Plenty of example in Help and you need to know how to use Help to use Access
efficiently.
 

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

Top