Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum

Status
Not open for further replies.

rickyzicky

Programmer
Dec 20, 2001
35
US
I have the following records:

1 O2 Bottle Serial # 101
1 O2 Bottle Serial # 102
1 O2 Bottle Serial # 103

-------------------------
I would like the report to display
the sum of the bottles (3) and have a drop down box show the serial #'s next to the description.

I can't sum with the serial numbers showing.

Any suggestions?

 
This in a form or just a query?

Ascii dumb question, get a dumb Ansi
 
Let me clarify. This would be a report.
I would like to sum on the QTY field.
I also would like a drop down box to appear only when the serial number field is not null for that record.

I can change to a form if necessary.

RZ
 
I don't think you can have a drop down box in a report??
 
YOu can put a dropdown in a report but it won't have any functionality other than to display a value.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
OK...can I somehow sum on the quantity field where the decriptions field matches even thouhgh the serial number field is different.

I would like to display the individual serial numbers as well on the same form/report.

Thanks
 
Do you have any field names associated with?
1 O2 Bottle Serial # 101
1 O2 Bottle Serial # 102
1 O2 Bottle Serial # 103

What would you expect your display in the report to look like?

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
I would like the qty to be added based on the desc field.

3 O2 Bottles [perhaps a drop down box with the individual serial #'s here]

I simply want to combine the total o2 bottles, but keep it's individuality for maintainenece purposes based on serial #.
 
So, we can assume the first column is a quantity column? You can create a grouping level in your report that is based on the field [Desc]. Display the group footer and add a text box with a control source of:
=Sum([Qty])
If you don't want to see the detail section, you can make it invisible.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top