Your SQL syntax is invalid. Typically you use
Distinct() on a single column. I'm not sure if this is the exact syntax with Access but this is how it would work in MSSQL:
SELECT Model, Make, Problem, HP
FROM Makers
GROUP BY Model, Make, Problem, HP
ORDER BY Model, Make, Problem, HP --This is an optional ordering line
It should be similar for access.
Last edited by sknake; Nov 3rd, 2009 at 9:13 pm.
Reputation Points: 1749
Solved Threads: 735
Senior Poster
Offline 3,948 posts
since Feb 2009