G
Guest
I have an Access table with a Yes/No field called Active. If Active is True
for all records,
SELECT Active FROM ATHLETE ORDER BY Active;
Returns Active=True for all of the records as expected. However,
SELECT DISTINCT Active FROM ATHLETE ORDER BY Active;
Returns a single record with Active=False, where it should return one record
with Active=True.
If I set Active to False for one of the records in the table and leave the
others True,
SELECT DISTINCT Active FROM ATHLETE ORDER BY Active;
Returns one record with Active=True and one record with Active=False as
expected.
Why is DISTINCT not working with Active=True for all records?
Thanks,
Rich...
for all records,
SELECT Active FROM ATHLETE ORDER BY Active;
Returns Active=True for all of the records as expected. However,
SELECT DISTINCT Active FROM ATHLETE ORDER BY Active;
Returns a single record with Active=False, where it should return one record
with Active=True.
If I set Active to False for one of the records in the table and leave the
others True,
SELECT DISTINCT Active FROM ATHLETE ORDER BY Active;
Returns one record with Active=True and one record with Active=False as
expected.
Why is DISTINCT not working with Active=True for all records?
Thanks,
Rich...