Group events
From: Sam Hobbs (samuel_at_social.rr.com_change_social_to_socal)
Date: 09/15/04
- Next message: Jeff Heikkinen: "Have RTF control - how do I use it?!?"
- Previous message: Jeff Heikkinen: "Re: Make one text box start right after the end of another?"
- Next in thread: Duane Hookom: "Re: Group events"
- Reply: Duane Hookom: "Re: Group events"
- Reply: Marshall Barton: "Re: Group events"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 20:58:20 -0700
I need to summarize a field for a group footer. This report, however, does
not use detail lines; it consists entirely of three groups. I assume that
the absence of a detail line is causing the usual group footer total
mechanism to not work. However just to be sure, I will explain what I did
that did not work.
Just to be sure I amusing the correct terminology, the most infrequent group
is level 0. The next is level 1 and the most frequent level, that appears on
the report to be thje detail level, is level 2.
In level 1, we have the calculation "cost * quantity". We need to summarize
that value for the level 0. I add a textbox to the level 0 footer and set
the control source to "cost * quantity". It does not summarize the values,
whether or not I set the Running Sum to "Over Group"
I assume the problem is a lack of a detail line. So I have tried to use the
"On Print" event to calulate the total. In the "On Print" event for the
level 0 header, I set the text box in the level 0 footer to zero. In the
level 1 header, I acummulate the "cost * quantity". That is, I add the level
1 value to the level 0 footer text box. This does not work either. No matter
what I try, I always get the value from ither the first or the last level 1
(group) line.
This is something that should be easy, but I don't know what Access is doing
so I don't understand how I should make it work.
- Next message: Jeff Heikkinen: "Have RTF control - how do I use it?!?"
- Previous message: Jeff Heikkinen: "Re: Make one text box start right after the end of another?"
- Next in thread: Duane Hookom: "Re: Group events"
- Reply: Duane Hookom: "Re: Group events"
- Reply: Marshall Barton: "Re: Group events"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|