Until they provide us with count(distinct [fieldname]), then in Access 97 at any rate, your best bet might honestly be to split it up into two queries - the first selecting the distinct values and the second using the first as a source.
An inelegant solution, but it would get you moving along...