chris-evans
Board Regular
- Joined
- Feb 19, 2002
- Messages
- 73
Hi I have an access table with 5 fields:
1) Month of Joining
2) User ID
3) Date of transaction
4) Value of transaction
5) Country
I am wanting to count the number of unique user ID's in each month of joining for a specific country, e.g. the UK. Because there is a new row for every transaction, I can't just count the User ID's for each month as the query will duplicate the entries. I was thinking that the DCount query would work but i can't get it to.
My query was had three fields:
a) Month of Joining (grouped by)
b) Unique Users: DCount("[User ID]","My Table Name")
c) Country (with criteria = "uk")
This doesn't appear to work, could someone help me out where i am going wrong?
Many thanks.
Chris
1) Month of Joining
2) User ID
3) Date of transaction
4) Value of transaction
5) Country
I am wanting to count the number of unique user ID's in each month of joining for a specific country, e.g. the UK. Because there is a new row for every transaction, I can't just count the User ID's for each month as the query will duplicate the entries. I was thinking that the DCount query would work but i can't get it to.
My query was had three fields:
a) Month of Joining (grouped by)
b) Unique Users: DCount("[User ID]","My Table Name")
c) Country (with criteria = "uk")
This doesn't appear to work, could someone help me out where i am going wrong?
Many thanks.
Chris