L
Lirva S via AccessMonster.com
I have the code below in a query. The first part of the code is to get the
last invoice date for each customer - that part works fine. What I also want
to do in addition to that is to show only invoices that are older than one
year.
Can someone tell me what I'm doing incorrectly.
Thanks.
((SELECT MAX([InvoiceDate]) FROM [tblInvoice] WHERE [tblCustomer].[CustomerID]
= [tblInvoice].[I_CustomerID]) Or Is Null) And >=DateAdd("y",-1,Date())
last invoice date for each customer - that part works fine. What I also want
to do in addition to that is to show only invoices that are older than one
year.
Can someone tell me what I'm doing incorrectly.
Thanks.
((SELECT MAX([InvoiceDate]) FROM [tblInvoice] WHERE [tblCustomer].[CustomerID]
= [tblInvoice].[I_CustomerID]) Or Is Null) And >=DateAdd("y",-1,Date())