Hi–
I’m trying to write a Distinct Count type query, using only one query, in Access 97. I’m beginning to think this is not possible. Has anyone been able to do it? If so, can you post a sample?
Here’s what I’ve got:
Employee1 Sunday
Employee2 Sunday
Employee1 Monday
Employee2 Tuesday
I’d like to be able to run something like this:
Select Count(Distinct EmpNumber) from tblWorkdays
But all I get is a syntax error. Apparently the guys who wrote Access97 Developer’s Handbook could do it, because the results of such a query are an example on page 140, but the query is not there.
I’ve even tried it with a subquery, but the query doesn’t run (and it doesn’t even give me an error message! Imagine that!).
TIA!
Cecilia 🙂