pat_nospam
Registered User.
- Local time
- Today, 23:12
- Joined
- Oct 14, 2003
- Messages
- 151
I want to count the results of a query for some group by conditions. So I put together a query and try to utilize the "Count" function in Totals, but it counts the total of the numerical value of the ID Primary Key, instead of giving me the total rows returned.
For example,
ID | Date | Value
1 | 2-2-2004 | $14
2 | 2-3-2004 | $15
My query returns the "Count" value as 3 (the sum of rows 1 & 2) rather than telling me it's returned 2 rows.
Any ideas? I'm sure its something simple.
TIA
For example,
ID | Date | Value
1 | 2-2-2004 | $14
2 | 2-3-2004 | $15
My query returns the "Count" value as 3 (the sum of rows 1 & 2) rather than telling me it's returned 2 rows.
Any ideas? I'm sure its something simple.
TIA