PC Review


Reply
Thread Tools Rate Thread

How to "copy" group running total to report footer?

 
 
Gabe
Guest
Posts: n/a
 
      26th Oct 2010
Hello, I'm new to Access and I'm hoping someone can help me.

I wrote a report that has a group running total, and I have totals in
the report footer. I need to do a calculation in the report footer
based on fields in the report footer, plus the value in the final
group running total.

What is the easiest way to access (no pun intended) the group running
final total from the report footer?

Would greatly appreciate any help you can provide.

Thank you,

Gabe
 
Reply With Quote
 
 
 
 
Gabe
Guest
Posts: n/a
 
      26th Oct 2010
I should add that I am doing an =Max() to find the highest value in
the group and then I include that value in the running total.

When I attempt to =Sum or =Max or =Last Access returns an error:
"Cannot have aggregate function in expression."

Is there a way around this?

Thank you,

Gabe
 
Reply With Quote
 
Uninvisible
Guest
Posts: n/a
 
      26th Oct 2010
On Oct 26, 4:43*pm, Gabe <gabe.dellaf...@gmail.com> wrote:
> I should add that I am doing an =Max() to find the highest value in
> the group and then I include that value in the running total.
>
> When I attempt to =Sum or =Max or =Last Access returns an error:
> "Cannot have aggregate function in expression."
>
> Is there a way around this?
>
> Thank you,
>
> Gabe


If I understand correctly, you are looking to make a calculation based
on values contained in text boxes (i.e., controls) that appear in the
footer of your report. It would seem then, that you can add a new
control to the footer of your report and reference the other controls
as part of your new control source. For instance, if the names of the
existing controls are SumofField1 and SumofField2, then you can create
a new text box and set the control source to = [SumofField1] +
[SumofField2]. If you are looking to do a max, of say Max1, Max2 and
Max3, you could create a new text box and set the control source to =
IIf([Max1]>[Max2],IIf([Max1]>[Max3],[Max1],[Max3]),IIf([Max2]>[Max3],
[Max2],[Max3])).
 
Reply With Quote
 
Gabe
Guest
Posts: n/a
 
      1st Nov 2010
Thanks for your help. It got me going in the right direction.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to sum a group of records but "sum" missing from Group, Sort, and Total dropdown/wizard Repent Microsoft Access Reports 8 6th Nov 2009 01:29 AM
Page Numbering: How Do I Set Footer to give Page "X" of "Y" Total Number of Pages? Stephen Kroll Microsoft Word Document Management 1 17th Aug 2008 06:04 AM
Report Design: Copy Style from Input "Form" to Output "Report" Armor Microsoft Access Reports 2 3rd Jun 2008 07:59 PM
Access 2K - Error in "Detail" when bound TextBox in "Report Footer =?Utf-8?B?TWNTdW1tYXRpb24=?= Microsoft Access Reports 7 15th Jun 2006 07:26 AM
"Force New Page" in "Group Footer" forces "Report Footer" to new page sarnyg Microsoft Access Reports 3 30th May 2006 06:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:20 AM.