R
Randall Arnold
I'm having a devil of a time trying to produce totals of recurring records
within a group. Specifically, I have a field holding the amount of sand to
be delivered to a job (typically 12, as in cubic yards). Records are
grouped by subdivision in the detail section, and I want to show the
subtotal of sand required for each subdivision as well as a grand total for
the entire request (encompassing all subdivisions to be delivered that day).
I thought running sum was what I needed, but that didn't produce the desired
results. Access Help was no help because I couldn't find examples that
covered my need (which I find very surprising).
I found an example of exactly what I want to do in the book Access 2002
Bible, page 678. Table 21-2 shows a total using the Sum function on a
certain field. The syntax is as follows:
=Sum(Treatment Price]+
The syntax looked strange (missing parenethisis) but I went ahead and
modified it to match my field as follows:
=Sum([Quantity]+
Not surprisingly, I got an error ("the expression you entered contains
invalid syntax"). I tried various permutations and none worked.
Essentially, I want the individual sand loads listed one after another in
the Subdivision group, with a subtotal after each group, and a grand total
at the end of the report.
Can anyone help? This is making me nuts...
Randall Arnold
within a group. Specifically, I have a field holding the amount of sand to
be delivered to a job (typically 12, as in cubic yards). Records are
grouped by subdivision in the detail section, and I want to show the
subtotal of sand required for each subdivision as well as a grand total for
the entire request (encompassing all subdivisions to be delivered that day).
I thought running sum was what I needed, but that didn't produce the desired
results. Access Help was no help because I couldn't find examples that
covered my need (which I find very surprising).
I found an example of exactly what I want to do in the book Access 2002
Bible, page 678. Table 21-2 shows a total using the Sum function on a
certain field. The syntax is as follows:
=Sum(Treatment Price]+
The syntax looked strange (missing parenethisis) but I went ahead and
modified it to match my field as follows:
=Sum([Quantity]+
Not surprisingly, I got an error ("the expression you entered contains
invalid syntax"). I tried various permutations and none worked.
Essentially, I want the individual sand loads listed one after another in
the Subdivision group, with a subtotal after each group, and a grand total
at the end of the report.
Can anyone help? This is making me nuts...
Randall Arnold