fat controller
Slightly round the bend..
- Local time
- Today, 02:38
- Joined
- Apr 14, 2011
- Messages
- 758
I have a combo box which has the following query as its source:
SELECT DISTINCT SafeDriving.ID, SafeDriving.SDYear
FROM SafeDriving;
The field SDYear is a four digit number to represent a year, and is stored as a number. I am trying to get the combo to show only one instance of each year/number even although there may be more than one in the table - however, I am still seeing duplicates; have I missed something?
SELECT DISTINCT SafeDriving.ID, SafeDriving.SDYear
FROM SafeDriving;
The field SDYear is a four digit number to represent a year, and is stored as a number. I am trying to get the combo to show only one instance of each year/number even although there may be more than one in the table - however, I am still seeing duplicates; have I missed something?