The following contrived SQL is being rejected by <br>Access 97. I just tested in Foxpro and works fine<br>there. I've played with several configurations<br>of COUNT DISTINCT in Access to no avail.<br><br>The work-around is going to be very unpleasant<br>if I cannot do this in one SQL in Access 97.<br><br>SELECT Invoices.InvoiceDate, <br> COUNT(DISTINCT Invoices.CustID) AS DistCustID<br>FROM Invoices<br>GROUP BY Invoices.InvoiceDate<br><br>Any help is much appreciated.<br><br>Thanks,<br>KMITCH