i have the following query which gives me the total donations for all clients for a given time period, say, a year. (not for profit charitable organization).
SELECT PaymentTable.date, DonorTable.donor_title, DonorTable.donor_f_name, DonorTable.donor_l_name, Donations.donation_type, Donations.receipt_amount, PaymentTable.amt_paid, IIf([donations]![receipt_amount]>=[paymenttable]![amt_paid] And [paymenttable]![amt_paid]>0,[paymenttable]![amt_paid],[donations]![receipt_amount]) AS Expr1, PaymentTable.payment_type
FROM (Donations INNER JOIN PaymentTable ON Donations.donation_id = PaymentTable.donation_id) INNER JOIN DonorTable ON Donations.donor_id = DonorTable.donor_id
WHERE (((PaymentTable.date) Between [beginning date] And [ending date]) AND ((PaymentTable.payment_type)<>"non-cash") AND ((Donations.currency)="canadian"));
i would like to design a report that reflects the total NOT ONLY for the entire year but for each month seperately. For example:
january $15,000
february 40,000
and then one total for the whole year.
i'm not a very polished access user and this seems a bit beyond my grasp. any help would be appreciated. thanks.
SELECT PaymentTable.date, DonorTable.donor_title, DonorTable.donor_f_name, DonorTable.donor_l_name, Donations.donation_type, Donations.receipt_amount, PaymentTable.amt_paid, IIf([donations]![receipt_amount]>=[paymenttable]![amt_paid] And [paymenttable]![amt_paid]>0,[paymenttable]![amt_paid],[donations]![receipt_amount]) AS Expr1, PaymentTable.payment_type
FROM (Donations INNER JOIN PaymentTable ON Donations.donation_id = PaymentTable.donation_id) INNER JOIN DonorTable ON Donations.donor_id = DonorTable.donor_id
WHERE (((PaymentTable.date) Between [beginning date] And [ending date]) AND ((PaymentTable.payment_type)<>"non-cash") AND ((Donations.currency)="canadian"));
i would like to design a report that reflects the total NOT ONLY for the entire year but for each month seperately. For example:
january $15,000
february 40,000
and then one total for the whole year.
i'm not a very polished access user and this seems a bit beyond my grasp. any help would be appreciated. thanks.