
Does Access support SELECT Count(DISTINCT fieldname) ...
Oto --
Are you SURE about that syntax? "SELECT fieldname,
COUNT(fieldname) FROM tablename GROUP BY fieldname" gives counts for
each distinct value of fieldname; putting DISTINCT into it doesn't
change anything. Or are you trying to eliminate duplicate records
before doing the counting or something else?
HTH, Roger
Quote:
>Does Access support the Count(DISTINCT fieldname) aggregate function?
I'm
>getting a "Syntax error: missing operator" error on this line.