G
Guest
tx date ref
60 09/26/05 3123456789
65 09/26/05 3123456789
63 09/26/05 3123456789
66 09/26/05 3123456789
37 09/26/05 905
24 09/24/05 123456
37 09/26/05 905
60 09/25/05 3123456789
60 09/25/05 3123456789
I am trying to create a query/report that would perform a count on the above
- this is an extract of 3 columns from a table with 10 columns. I want to
select distinct records where the len([Ref)= 10 and the dates are the same
else select all where Len([Ref])<>10 but I am not sure how to write the
select statement. In the sample table above the count would be 5. Any
suggestions help would be greatly appreciated. The source data is from an
excel spreadsheet
60 09/26/05 3123456789
65 09/26/05 3123456789
63 09/26/05 3123456789
66 09/26/05 3123456789
37 09/26/05 905
24 09/24/05 123456
37 09/26/05 905
60 09/25/05 3123456789
60 09/25/05 3123456789
I am trying to create a query/report that would perform a count on the above
- this is an extract of 3 columns from a table with 10 columns. I want to
select distinct records where the len([Ref)= 10 and the dates are the same
else select all where Len([Ref])<>10 but I am not sure how to write the
select statement. In the sample table above the count would be 5. Any
suggestions help would be greatly appreciated. The source data is from an
excel spreadsheet