G
Greg Jesky
I have a question concerning how you create a sum based on selected records.
For example I have a table with 3 fields:
Customer(text), ITEM(text), Cost(Money)
A, widget1, $1.00
B, widget2, $1.50
A, widget3, $1.75
C, widget4, $5.00
C, widget1, $1.00
B, widget3, $1.65
I would like to run a parameter type query where I input an ITEM. So far no
problem!!
However I now get stuck- If I would input "widget1"
I would like to get a result that looks like
A, widget1, $1.00
C, widget1, $1.00
Total $2.00
I get the first 2 lines above just fine...but I can not decipher Access Help
to determine how to get the $2.00 total on the dynaset.
Thank You,
Greg
For example I have a table with 3 fields:
Customer(text), ITEM(text), Cost(Money)
A, widget1, $1.00
B, widget2, $1.50
A, widget3, $1.75
C, widget4, $5.00
C, widget1, $1.00
B, widget3, $1.65
I would like to run a parameter type query where I input an ITEM. So far no
problem!!
However I now get stuck- If I would input "widget1"
I would like to get a result that looks like
A, widget1, $1.00
C, widget1, $1.00
Total $2.00
I get the first 2 lines above just fine...but I can not decipher Access Help
to determine how to get the $2.00 total on the dynaset.
Thank You,
Greg