A
Amin
I have two queries. Query "A" has the following information as overtime
Name Duration
Mark 1
Ted 2
Bill 2
Alex 1
Query "B" has the following information as lost time:
Name Duration
Mark 1
Ted 3
John 5
Eric 6
What I would like to do is overtime minus lost time (A-B) to return the
following:
Mark 0
Ted -1
Bill 2
Alex 1
John -5
Eric -6
I know this should be simple, but I cannot figure this out. When I join, it
obviously loses the people that aren't on both tables. A simple subtract
without a join obviously does not work. And I cannot figure out how to apply
an IIF statement here.
Thanks in advance!
Amin
Name Duration
Mark 1
Ted 2
Bill 2
Alex 1
Query "B" has the following information as lost time:
Name Duration
Mark 1
Ted 3
John 5
Eric 6
What I would like to do is overtime minus lost time (A-B) to return the
following:
Mark 0
Ted -1
Bill 2
Alex 1
John -5
Eric -6
I know this should be simple, but I cannot figure this out. When I join, it
obviously loses the people that aren't on both tables. A simple subtract
without a join obviously does not work. And I cannot figure out how to apply
an IIF statement here.
Thanks in advance!
Amin