I have a query, where i have a Field A that is the primary key.
Field B is not primary, I can have, lets say 70 records. Field B can contain only 2-3 different values.
What i want to do here is to make a report, where the lines is not every record, but every different value of B and the number of records with that value in field B.
So if there is 3 different values in B, 1 2 and 3. And there is 20 of type 1, 33 of type 2 and 17 of type 3, i want the records in the report to be the values 1 2 and 3 with the number of each of them. Like
1 20
2 33
3 17
I really dont know how to do this, i dont know how to get the different values. When i have the values i could just make a DCount with criteria regarding the type.
How could i make this report like i want, with only these three(in this case) records?
I would really apreciate help on this one.
Field B is not primary, I can have, lets say 70 records. Field B can contain only 2-3 different values.
What i want to do here is to make a report, where the lines is not every record, but every different value of B and the number of records with that value in field B.
So if there is 3 different values in B, 1 2 and 3. And there is 20 of type 1, 33 of type 2 and 17 of type 3, i want the records in the report to be the values 1 2 and 3 with the number of each of them. Like
1 20
2 33
3 17
I really dont know how to do this, i dont know how to get the different values. When i have the values i could just make a DCount with criteria regarding the type.
How could i make this report like i want, with only these three(in this case) records?
I would really apreciate help on this one.