in your original SQL code, try SELECT DISTINCT instead of just SELECT.
Last edited by tmd63; 10-25-2016 at 02:03 AM. Reason: typo
Forum Rules