All,
I am trying to do the following.
Table: tblInvoiceTransactions
Fields:AccrualMonth,InvoiceAmount,AccountID.
What I need to do is generate a query that when the accrual month is entered (IE. 8/1/04.. the accrual month will always be the first of the month)the query will create 3 columns that will sum the invoice amount for each of the 3 previous months. So the data would look like the following
Prompt - Enter Accrual Month
AcctID AccrualMonth 1Mo Ago 2Mo Ago 3Mo Ago
27383 8/1/04 (Prompt) 15.00 12.88 13.44
28582 8/1/04 11.56 25.83 75.65
How can I do this?
Thanks for the help in advance.
Steve
I am trying to do the following.
Table: tblInvoiceTransactions
Fields:AccrualMonth,InvoiceAmount,AccountID.
What I need to do is generate a query that when the accrual month is entered (IE. 8/1/04.. the accrual month will always be the first of the month)the query will create 3 columns that will sum the invoice amount for each of the 3 previous months. So the data would look like the following
Prompt - Enter Accrual Month
AcctID AccrualMonth 1Mo Ago 2Mo Ago 3Mo Ago
27383 8/1/04 (Prompt) 15.00 12.88 13.44
28582 8/1/04 11.56 25.83 75.65
How can I do this?
Thanks for the help in advance.
Steve