Sum Function

J

James

I have a report which shows drawings sent, their size, and
the quantity, issued over certain date period.

I have a simple total field for the total number of
drawings sent over the period but what i would also like
is to break this total down into spearate totals for
different drawings sizes.

For example... over the period 20 drawings may have been
seen 10 of which were A1, 6 A4 and 4 A3.

I would like my report to work this out form the "size"
field which appears on the report. This might seem simple
to many but i am a GUI guy and have little experience with
code so even a little bit like this and i crumble.

Thanks James
 
D

Duane Hookom

Create a totals query that calculates these values. Probably something like:
SELECT DrawSize, Count(DrawSize) as NumOf
FROM tblDrawIssued
WHERE IssDate between Forms!frmA!txtStart and Forms!frmA!txtEnd
GROUP BY DrawSize;
Then build a subreport from this query and place it in the footer of your
existing report.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Lottery 6
Draw a horizontal line after the last record is printed on each pa 1
Total of sums 2
Summing Time 0
Sum in report 10
Two query report issue 0
Summing Issue on Time entries 1
Multi level grouping 0

Top