Hi Guys
I'm trying to create at query that subtracts 2 values from 2 different queries get a calculated value.
My Data are as folow
OD1 : 20 ID1 : 10
OD2 : 20 ID2 : 5
OD3 : 15 ID3 : 5
OD4 : 10 ID4 : 10
OD5 : 15 ID5 : 5
I've tried to create a query that does subtract the values
SELECT Right(QryGetOD.Measuring,1) AS Nr, [QryGetOD].[Value]-[QryGetID].[Value] AS W
FROM QryGetOD, QryGetID;
But instaid of 5 values I get 25 values.
(seems like the subtractions are done 5 * 5)
But want to subtract OD1 with ID1 and so on
I'm trying to create at query that subtracts 2 values from 2 different queries get a calculated value.
My Data are as folow
OD1 : 20 ID1 : 10
OD2 : 20 ID2 : 5
OD3 : 15 ID3 : 5
OD4 : 10 ID4 : 10
OD5 : 15 ID5 : 5
I've tried to create a query that does subtract the values
SELECT Right(QryGetOD.Measuring,1) AS Nr, [QryGetOD].[Value]-[QryGetID].[Value] AS W
FROM QryGetOD, QryGetID;
But instaid of 5 values I get 25 values.
(seems like the subtractions are done 5 * 5)
But want to subtract OD1 with ID1 and so on