|
-
Mar 25th, 2005, 11:42 PM
#1
Thread Starter
Addicted Member
Access Report Problem
Hi all,
I'v recently finished a VB to Access invoice system and its working fine, except for one small problem. I want the total of a field added up, so I used the aggregate function Sum. However, I want it to appear at the bottom of the page but as far as I can tell nothing is evaluated in the Page Footer. I have to either put it in the Report Detail section or in Report Footer, but then, it doesnt appear at the bottom.
I then tried to base the field on a query which would do the adding up for me, but im not sure how to base the field on a query that the report is not based on.
So there is two ways to resolve this:
1) Is there a way to evaluate aggregate functions or anything else in the Page Footer section of a report
or
2) How do I base a field on a query other then the query that the report is based on?
Any ideas are welcome 
EDIT:
The field that I want to populate will be the sum of a field on the report + the sum of a field of a subreport that is on the report. I tried using
Code:
=Sum([sellprice])+Sum(Reports![rptSubRptCustomItems]![ItemPrice])
but that does not work, I get the #Name? error.
Last edited by Luke K; Mar 25th, 2005 at 11:45 PM.
Reason: Edit
Artificial Intelligence At War! - The best game of its genre
Program your own robot and watch it fight in 3d!
Droidarena 3
If I have been useful, please Rate My Post
Support FireFox - 
Microsoft Visual Studio .NET Professional 2003
Microsoft Visual Studio 6, Enterprise Edition
Microsoft Windows XP Professional, Service Pack 2
-
Mar 26th, 2005, 07:27 AM
#2
Thread Starter
Addicted Member
Re: Access Report Problem
Normally questions like these are answered quick smart, this is odd
Artificial Intelligence At War! - The best game of its genre
Program your own robot and watch it fight in 3d!
Droidarena 3
If I have been useful, please Rate My Post
Support FireFox - 
Microsoft Visual Studio .NET Professional 2003
Microsoft Visual Studio 6, Enterprise Edition
Microsoft Windows XP Professional, Service Pack 2
-
Mar 27th, 2005, 05:50 AM
#3
Thread Starter
Addicted Member
Re: Access Report Problem
*bump* Someone has got to know. Sorry if bumping is against the rules
Artificial Intelligence At War! - The best game of its genre
Program your own robot and watch it fight in 3d!
Droidarena 3
If I have been useful, please Rate My Post
Support FireFox - 
Microsoft Visual Studio .NET Professional 2003
Microsoft Visual Studio 6, Enterprise Edition
Microsoft Windows XP Professional, Service Pack 2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|