for my Access database(97. I have a field called ID, which has multiple values:
0-007
0-007
1-123
1-123
5-456
5-456
I need to get the total distinct counts of ID for my report(here I should get 3) so I run a SQL statment:
select count(distinct [ID])from myTable;
But all I got is a syntax error.
Please help!
Thanks!
0-007
0-007
1-123
1-123
5-456
5-456
I need to get the total distinct counts of ID for my report(here I should get 3) so I run a SQL statment:
select count(distinct [ID])from myTable;
But all I got is a syntax error.
Please help!
Thanks!