473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Running totals in Project file?

I'm in the process of converting an Access database into a SQL 2000
database using Access Project as a front end. Here's where I'm stuck.

I've replaced the old access queries with user-defined functions in SQL
(because I need to pass parameters back and forth). Its all working
great. However, at the bottom of the report I often have a field for
totals - for instance, a field showing the number of items in each
product code, then at the bottom a field that sums up the entire
column. The number of all items. In Access, I did this with a simple
=Sum(CountOfProductCode). In a Project, I've just learned, this is
forbidden! You can't use aggregate functions at all! I can't even add
it up in another SQL function and get to it with a domain aggregate
function!

How can you add a total to the bottom of a report in a Project, if
aggregate functions are not useable?

TIA,

maddman

Nov 13 '05 #1
1 1463
SQL, SQL, SQL, as in

SELECT SUM(ColumnOfInterest) as SumName FROM TableOfInterest Where
Conditions = ConditionsForReport

Also, it may be helpful to spend some time understanding what Report
events fire and when they fire.

HTH
On 18 Mar 2005 13:19:03 -0800, "Maddman" <ma********@yahoo.com> wrote:
I'm in the process of converting an Access database into a SQL 2000
database using Access Project as a front end. Here's where I'm stuck.

I've replaced the old access queries with user-defined functions in SQL
(because I need to pass parameters back and forth). Its all working
great. However, at the bottom of the report I often have a field for
totals - for instance, a field showing the number of items in each
product code, then at the bottom a field that sums up the entire
column. The number of all items. In Access, I did this with a simple
=Sum(CountOfProductCode). In a Project, I've just learned, this is
forbidden! You can't use aggregate functions at all! I can't even add
it up in another SQL function and get to it with a domain aggregate
function!

How can you add a total to the bottom of a report in a Project, if
aggregate functions are not useable?

TIA,

maddman


Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bill Dika | last post by:
Hi I am trying to calculate a running total of a calculated textbox (tbAtStandard) in GroupFooter1 for placement in a textbox (tbTotalAtStandard) on my report in Groupfooter0. The problem...
16
by: StenKoll | last post by:
Help needed in order to create a register of stocks in a company. In accordance with local laws I need to give each individual share a number. I have accomplished this by establishing three tables...
6
by: KashMarsh | last post by:
Trying to show running totals on a report, except it needs to show one total amount and values being subtracted from it. For example, the report shows a Total Inventory amount (TotInvAmt). And...
0
by: Beacher | last post by:
Hi all, I'm having troubles with a report I've created. You make some selections on a form which then sets a reports filter property and opens the report, this works fine. One bigger problem...
13
by: terrybens | last post by:
Hello, I'm using a Microsft Access 2000 Project (adp file) connected to MS SQL Server 2000 database. I have created a continous form having a detail part (results of the query) and a footer...
3
by: =?Utf-8?B?Um9iZXJ0IENoYXBtYW4=?= | last post by:
Hi, Fairly easy to create one running total for a gridview but what if you have dozens of them? I have a gridview that allows bulk editing (all rows at once) and have it set up so that, on data...
3
by: mochatrpl | last post by:
I am looking for a way to make a query / report display the running average for total dollars. I have already set up a query to provide totals dollars per day from which a report graphly shows...
9
by: JJM0926 | last post by:
I'm trying to create a running totals query in access 97. I have followed the directions on how to do it from Microsofts website article id 138911. I took their code they had and replaced it with...
6
by: Stuart Shay | last post by:
Hello All: I have a array which contains the totals for each month and from this array I want to get a running total for each month decimal month = new decimal; month = 254; (Jan) month =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.