Hi all,
How would I go about implementing a conditional sum/count in one field in Access 2000? For example, let's say customer C001 has two different types of transactions in April and May (A,B). What I need to do is get into one record the following:
C001:count_of_A_Apr,count_of_B_APR, count_of_A_May, count_of_B_May
I've tried this by making my first query field [customer #] and then something like "COUNT_A_APR: count(iif(TRXN="A" and month="April",1,0))
What I get is a count of [customer #].
Any suggestions?
How would I go about implementing a conditional sum/count in one field in Access 2000? For example, let's say customer C001 has two different types of transactions in April and May (A,B). What I need to do is get into one record the following:
C001:count_of_A_Apr,count_of_B_APR, count_of_A_May, count_of_B_May
I've tried this by making my first query field [customer #] and then something like "COUNT_A_APR: count(iif(TRXN="A" and month="April",1,0))
What I get is a count of [customer #].
Any suggestions?