B
Bill Stanton
I'd like to generate a report that displays the
name and total of a category and a grand-total
of all categories at the end of the report.
The RecordSource is of the form:
date; categoryID; categoryAmount
where categoryID is the ID of a normalized list
of names and categoryAmount is a currency
field. There is a One-To-Many relationship to
the RecordSource, so there can be many records
for each category.
E.g.,
catName1.................$total catName1
catName2.................$total catName2
catName3.................$total catName3
..
..
catNamen.................$total catNamen
---------------------------------
Total catName1-n $Total
Is this kind of thing done in the code-sheet of
the detail section? If so, does one code loops
in such code to add to sub-total accumulators
until the category changes (with the query
sorted by category)? My sense of Access
suggests the answer is NO!
Can anyone get me going on the right track?
Thanks,
Bill
name and total of a category and a grand-total
of all categories at the end of the report.
The RecordSource is of the form:
date; categoryID; categoryAmount
where categoryID is the ID of a normalized list
of names and categoryAmount is a currency
field. There is a One-To-Many relationship to
the RecordSource, so there can be many records
for each category.
E.g.,
catName1.................$total catName1
catName2.................$total catName2
catName3.................$total catName3
..
..
catNamen.................$total catNamen
---------------------------------
Total catName1-n $Total
Is this kind of thing done in the code-sheet of
the detail section? If so, does one code loops
in such code to add to sub-total accumulators
until the category changes (with the query
sorted by category)? My sense of Access
suggests the answer is NO!
Can anyone get me going on the right track?
Thanks,
Bill