accessman2
Registered User.
- Local time
- Today, 14:35
- Joined
- Sep 15, 2005
- Messages
- 335
Hi,
I have a question.
Suppose there is a table:
Vendor__________Code ......................
A________________1
A________________2
Dcount("Code","table","Vendor = A") = 2
It is fine.
Vendor__________Code ......................
A_______________1
A_______________1
A _______________2
Dcount("Code","table","Vendor = A") = 3
I want to count the different between the code, it should be 2.
I don't want to create the query to group it and then count the query, because the values of the rest of the fields of the table may be different.
Does any function for count different? Thanks.
I have a question.
Suppose there is a table:
Vendor__________Code ......................
A________________1
A________________2
Dcount("Code","table","Vendor = A") = 2
It is fine.
Vendor__________Code ......................
A_______________1
A_______________1
A _______________2
Dcount("Code","table","Vendor = A") = 3
I want to count the different between the code, it should be 2.
I don't want to create the query to group it and then count the query, because the values of the rest of the fields of the table may be different.
Does any function for count different? Thanks.