I am with you when it comes to the concept, but I am still struggling on how to and where to setup the dsum function:
If I enter into my query:
Code:
Expr1 = dsum("[Amount]", "Table_Transaction", "[Dato] <= #" & [Enter the First Day of the Month]" & "#")
it says invalid syntax. It would probably help if I would understand the part
#" & [Enter the First Day of the Month]" & "#")
a bit better. Sorry for beeing so slow, but it's at least 8 years since I used Access...
Googling the subject of dates, I figured the following criteria for my query:
Code:
Year([Dato])* 12 + DatePart("m", [Sato]) <= Year(Date())* 12 + DatePart("m", Date()) - 1
This way I can limit the query to display only all transfers up to last month, but I do not manage to get them summed up. I must be missing something.
Any advice appreciated!