J
jason
I have a table with ID, first, last, purchase_date.
The items our customers get, they only purchase once a year. I'd like to be
able to find out which customers made a purchase last year (in 2005) and NOT
in 2006.
Right now I have:
SELECT [2005-2006 DIABCO AND NOBLE SHOE Patients].socsec, [2005-2006 DIABCO
AND NOBLE SHOE Patients].f_name, [2005-2006 DIABCO AND NOBLE SHOE
Patients].l_name, [2005-2006 DIABCO AND NOBLE SHOE Patients].svc_date,
[2005-2006 DIABCO AND NOBLE SHOE Patients].procedure
FROM [2005-2006 DIABCO AND NOBLE SHOE Patients]
WHERE ((((([2005-2006 DIABCO AND NOBLE SHOE
Patients].[svc_date])=#1/1/2005#-#12/31/2005#) And (([2005-2006 DIABCO AND
NOBLE SHOE Patients].[svc_date])=#1/1/2006#-#12/31/2006#))=False))
ORDER BY [2005-2006 DIABCO AND NOBLE SHOE Patients].svc_date;
--------------------------------------------------------
But this gives me customers who have made a purchase in EITHER 2005 or 2006,
but I only want to see the ones from 2005.
Any help is appreciated.
Jason
The items our customers get, they only purchase once a year. I'd like to be
able to find out which customers made a purchase last year (in 2005) and NOT
in 2006.
Right now I have:
SELECT [2005-2006 DIABCO AND NOBLE SHOE Patients].socsec, [2005-2006 DIABCO
AND NOBLE SHOE Patients].f_name, [2005-2006 DIABCO AND NOBLE SHOE
Patients].l_name, [2005-2006 DIABCO AND NOBLE SHOE Patients].svc_date,
[2005-2006 DIABCO AND NOBLE SHOE Patients].procedure
FROM [2005-2006 DIABCO AND NOBLE SHOE Patients]
WHERE ((((([2005-2006 DIABCO AND NOBLE SHOE
Patients].[svc_date])=#1/1/2005#-#12/31/2005#) And (([2005-2006 DIABCO AND
NOBLE SHOE Patients].[svc_date])=#1/1/2006#-#12/31/2006#))=False))
ORDER BY [2005-2006 DIABCO AND NOBLE SHOE Patients].svc_date;
--------------------------------------------------------
But this gives me customers who have made a purchase in EITHER 2005 or 2006,
but I only want to see the ones from 2005.
Any help is appreciated.
Jason