A
Alfred S.
This should be simple but I cant figure out how to do it
simply!
Basicly, what I want to do is subtract the result of a
query from another result from the same query in the same
field.
When I run the query I have to input 2 seperate dates,
then the query shows the data for each item for each date.
Here is some example output:
Bob 32 110 1/1/2003
Bob 32 120 1/10/2003
Ted 49 320 1/1/2003
Ted 49 300 1/10/2003
I want to subtract the values 110-120 from 'Bob' and 320-
300 from 'Ted'. How do I do this, using only 1 query?
Currently I am using one query for each date and then a
seperate query to do the subtraction.
This seems like it should be simple but I just keep
scratching my head over it.
simply!
Basicly, what I want to do is subtract the result of a
query from another result from the same query in the same
field.
When I run the query I have to input 2 seperate dates,
then the query shows the data for each item for each date.
Here is some example output:
Bob 32 110 1/1/2003
Bob 32 120 1/10/2003
Ted 49 320 1/1/2003
Ted 49 300 1/10/2003
I want to subtract the values 110-120 from 'Bob' and 320-
300 from 'Ted'. How do I do this, using only 1 query?
Currently I am using one query for each date and then a
seperate query to do the subtraction.
This seems like it should be simple but I just keep
scratching my head over it.