I am an Access newbie, and having problems designing a database to track my books.
I’m trying to design a system to replace my manual ledgers. I have a table (and a form) that lets me enter in each client, and what they paid for various services (haircut, blowdry, color), etc.
Thanks to a Doper’s help last night, I can now add these totals together, to see a total for haircuts, colors, etc., and ultimately a grand total for all services.
The next thing I can’t figure out is the following: how do I do these sums, but for only the last week?
I’ve tried the “Between Date() and DateAdd(“d”,-7,Date())” in the criteria box, but that doesn’t work (presumably because the field is a currency addition, with no date attached to it - that is a seperate field).
So, the question is, how do I tell Access to do the following:
“Sum up all of the transactions in the “haircuts” column, only for transactions in the last week?”
I assume I can repeat the same formula, with substitution, for the rest of the columns, and for the weekly grand total, just do a Sum() function.
Thanks for your help on this.