I have a query using a SELECT DISTINCT statement and an ORDER BY clause containing an Nz Function, similar to the following...
The problem is that I can't run this query using the Nz Function as it currently exists. Upon running the query I get the error: "ORDER BY clause (Nz(TableName.Column, "No Data")) conflicts with DISTINCT." If I remove the Nz function the statement works perfectly. Is there a way to run this query using both the DISTINCT statement and the Nz function? Thanks!
--
Not until I became a Network Administrator did the error message "See your Network Administrator for assistance" become petrifying.
Code:
SELECT DISTINCT *
FROM TableName
ORDER BY Nz(TableName.Column, "No Data");
--
Not until I became a Network Administrator did the error message "See your Network Administrator for assistance" become petrifying.