Taking advice from another post, have created 4 different queries, named Qtr1, Qtr2, Qtr3 and Qtr4. Need help with getting correct results. Want Qtr1 to be the sum of ConAmt where dates > =1/1/2009 and <=3/31/2009. If I can get help with Qtr1, I can do the others. Fields included in all queries are as follows except the date which is changed to represent the specific qtr. Although I'm not too familiar with SQL , have tried to use information found online. Thanks.
Field: MemID
Table: T_Contributions
Total: Group By
Sort: Ascending
Show: Yes
Criteria:
Field: Qtr1: Sum([T_Contribution]![ConAmt])
Table:
Total: Expression
Sort:
Show: Yes
Criteria:
Field: ConDte
Table:T-Contribution
Total: Where
Sort: No
Show: No
Criteria: Between #1/1/2009# And #3/31/2009#
Field: ConDte
Table:T-Contribution
Total: Group By
Sort: No
Show: Yes
Criteria:
I added the second ConDte field after an error message from Access which said to do it this way in order to see the date field.
Unique values set to yes
Field: MemID
Table: T_Contributions
Total: Group By
Sort: Ascending
Show: Yes
Criteria:
Field: Qtr1: Sum([T_Contribution]![ConAmt])
Table:
Total: Expression
Sort:
Show: Yes
Criteria:
Field: ConDte
Table:T-Contribution
Total: Where
Sort: No
Show: No
Criteria: Between #1/1/2009# And #3/31/2009#
Field: ConDte
Table:T-Contribution
Total: Group By
Sort: No
Show: Yes
Criteria:
I added the second ConDte field after an error message from Access which said to do it this way in order to see the date field.
Unique values set to yes