Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / March 2007

Tip: Looking for answers? Try searching our database.

Running sum problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mary - 09 Mar 2007 19:16 GMT
Please help - I'm doing something wrong but can't seem to get it!

Report totals expenses for projects.  Projects can have several expenses and
the budget is listed each time.  I only need the budget listed once.  Created
text box with Running sum for Budget named txtBudget, running sum over group.
(also tried over all)

Report totals by Director.

Over group doesn't work.  Over all works for first director, second director
is off, figure includes both first and second directors.  But over group
doesn't total right.  Do I have it in the wrong section, or set wrong?  Can
someone help?  Report has groupings on Project & Director.

Thanks!
Mary
Marshall Barton - 09 Mar 2007 23:19 GMT
>Please help - I'm doing something wrong but can't seem to get it!
>
[quoted text clipped - 9 lines]
>doesn't total right.  Do I have it in the wrong section, or set wrong?  Can
>someone help?  Report has groupings on Project & Director.

You need to add a grouping level for the project field.  The
budget amount would just be a bound text box in this group's
header or footer section.  (The budget amount text box
should not be in the detail section.)

Then add another text box (named txtRunBudget) to the same
group header/footer.  Bind it to the same field and set this
one's RunningSum to Over Group.

The next higher group (presumably the director group) can
the display the total in its group footer by using a text
box with the expression:
    =txtRunBudget

Signature

Marsh
MVP [MS Access]

Mary - 12 Mar 2007 14:28 GMT
Still not working...I also have the report sorted by the AD field and that
seems to be the problem.  The total in the Director field is displaying the
total for the last AD in that group instead of the sum of all the AD's in the
group.

Currently I have group footers for Project and Director.  Nothing in the
Detail section, project details are displayed in the Project footer.  
BudgetAmount is a bound control in this section.  I added the additional text
box named txtRunBudget with Running Sum set to Over Group.  Added text box in
Director footer =txtRunBudget.  I've tried putting the text boxes in the AD
footer, but totals are still off.

> >Please help - I'm doing something wrong but can't seem to get it!
> >
[quoted text clipped - 23 lines]
> box with the expression:
>     =txtRunBudget
Mary - 12 Mar 2007 14:45 GMT
Finally got it, thanks!  Added text fiedl in AD footer with expression
=txtrunbudget, set it's running sum to over group, then referred to that text
box in the Director footer.

> >Please help - I'm doing something wrong but can't seem to get it!
> >
[quoted text clipped - 23 lines]
> box with the expression:
>     =txtRunBudget
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.