L
lmiller
I am trying to develop a union query for my 2 inventory balances. the query
comes back with the first 2 fields correctly but when it comes to the
balances it isn't taking into accoutn the balance from my 2nd query.
SELECT [INVENTORY R&D 7th].[PART #], [INVENTORY R&D 7th].[PART NAME],
[INVENTORY R&D 7th].[END BALANCE]
FROM [INVENTORY R&D 7th]
WHERE ((([INVENTORY R&D 7th].[END BALANCE]>0)))
UNION
SELECT [INVENTORY R&D].[PART #], [INVENTORY R&D].[PART NAME], [INVENTORY
R&D].[END BALANCE]
FROM [INVENTORY R&D]
WHERE ((([INVENTORY R&D].[END BALANCE])>OR=([INVENTORY R&D 7TH].[END
BALANCE])));
When I hit run it comes back with just results from my Inventory r&d 7th.
Any suggestions on how to get the query to unite or add together?
comes back with the first 2 fields correctly but when it comes to the
balances it isn't taking into accoutn the balance from my 2nd query.
SELECT [INVENTORY R&D 7th].[PART #], [INVENTORY R&D 7th].[PART NAME],
[INVENTORY R&D 7th].[END BALANCE]
FROM [INVENTORY R&D 7th]
WHERE ((([INVENTORY R&D 7th].[END BALANCE]>0)))
UNION
SELECT [INVENTORY R&D].[PART #], [INVENTORY R&D].[PART NAME], [INVENTORY
R&D].[END BALANCE]
FROM [INVENTORY R&D]
WHERE ((([INVENTORY R&D].[END BALANCE])>OR=([INVENTORY R&D 7TH].[END
BALANCE])));
When I hit run it comes back with just results from my Inventory r&d 7th.
Any suggestions on how to get the query to unite or add together?