B
brownti via AccessMonster.com
I get a weekly schedule sent to me in an excel file that has about 200 rows
of addresses, descriptions, and dates. In the past we have gone through last
weeks list and this weeks list to find differences. This takes way too long
for something that access can do. I have got to the point of comparing
existing records to last weeks records but not been able show new records
that were not on last weeks. Here is the SQL that i am using to compare
tables. Can anyone please help me adapt it to also show records that didnt
exist on DeliveryOld but now do on DeliveryNew and vica versa? THanks
SELECT [DeliveryNew].Address, [DeliveryNew].DeliveryDate, [DeliveryNew].
Description
FROM [DeliveryOld], [DeliveryNew]
WHERE ((([DeliveryNew].Address)=[DeliveryOld].[Address]) AND (([DeliveryNew].
DeliveryDate)<>[DeliveryOld].[DeliveryDate]) AND (([DeliveryNew].Description)
=[DeliveryOld].[Description]))
ORDER BY [DeliveryNew].Address, [DeliveryNew].DeliveryDate;
of addresses, descriptions, and dates. In the past we have gone through last
weeks list and this weeks list to find differences. This takes way too long
for something that access can do. I have got to the point of comparing
existing records to last weeks records but not been able show new records
that were not on last weeks. Here is the SQL that i am using to compare
tables. Can anyone please help me adapt it to also show records that didnt
exist on DeliveryOld but now do on DeliveryNew and vica versa? THanks
SELECT [DeliveryNew].Address, [DeliveryNew].DeliveryDate, [DeliveryNew].
Description
FROM [DeliveryOld], [DeliveryNew]
WHERE ((([DeliveryNew].Address)=[DeliveryOld].[Address]) AND (([DeliveryNew].
DeliveryDate)<>[DeliveryOld].[DeliveryDate]) AND (([DeliveryNew].Description)
=[DeliveryOld].[Description]))
ORDER BY [DeliveryNew].Address, [DeliveryNew].DeliveryDate;