Hi
Im reasonably new to access databases so I still to like to build my queries in the design view rather than pure SQL. My question is:
I have a table with the columns; Month_Num | Amount (which is linked to others)
1 | 2000
2 | 3000
3 | 3500
4 | 3600
5 | 2800
6 | 3000
7 | 4000
8 | 0
9 | 0
10 | 0
11 | 0
12 | 0
I want to show the YTD figure when i run the query, so i want to enter a value into a parameter, say 3 and then have the query sum all the amounts where Month_Num is <= 3
Hopefully Im being clear. Ive spend hours trying to solve this. Probably over complicating it. Im hoping someone could point me in the right direction?
Thanks
Im reasonably new to access databases so I still to like to build my queries in the design view rather than pure SQL. My question is:
I have a table with the columns; Month_Num | Amount (which is linked to others)
1 | 2000
2 | 3000
3 | 3500
4 | 3600
5 | 2800
6 | 3000
7 | 4000
8 | 0
9 | 0
10 | 0
11 | 0
12 | 0
I want to show the YTD figure when i run the query, so i want to enter a value into a parameter, say 3 and then have the query sum all the amounts where Month_Num is <= 3
Hopefully Im being clear. Ive spend hours trying to solve this. Probably over complicating it. Im hoping someone could point me in the right direction?
Thanks
