473,394 Members | 1,709 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,394 software developers and data experts.

Summing a detail field (A2003)

PW
How do you do it? I need to sum a field within a group after the
group changes and put it in the group footer.

Referral Header
Referral Name
Detail
Referral Dollars
Referral Footer
Total Group Referral Dollars

Thanks,

-paulw
Sep 2 '08 #1
4 1442
PW wrote:
How do you do it? I need to sum a field within a group after the
group changes and put it in the group footer.

Referral Header
Referral Name
Detail
Referral Dollars
Referral Footer
Total Group Referral Dollars

Thanks,

-paulw
Review RunningSum in help.
Sep 2 '08 #2
PW
On Tue, 02 Sep 2008 13:07:58 -0700, Salad <oi*@vinegar.comwrote:
>PW wrote:
>How do you do it? I need to sum a field within a group after the
group changes and put it in the group footer.

Referral Header
Referral Name
Detail
Referral Dollars
Referral Footer
Total Group Referral Dollars

Thanks,

-paulw

Review RunningSum in help.

Well, the step-by-step instructions in the help are not working.

The control source of the text box (txtRezCost) in the detail section
is:
=DSum("[total]","[qryResTotalA]","[ReservationID]=reports![rptMoneybyClientReferral]![ReservationID]")

I created a text box in the Referral Footer and set it to
=Sum(Reports!rptMoneyByClientReferral!txtRezCost) and set the running
sum property to "over group"

The instructions say to just set it to the text box in the detail
section but I had to qualify it to stop getting prompted for the value
of txtRezCost when the report is run.

I am getting zero for the sum value.

-pw
Sep 3 '08 #3
The fact that you are being asked to provide this information, means that
the report cannot find it.

You need to check the control on the report and ensure it has the correct
ref.

"PW" <pa**********************@removehotmail.comwrote in message
news:qm********************************@4ax.com...
On Tue, 02 Sep 2008 13:07:58 -0700, Salad <oi*@vinegar.comwrote:
>>PW wrote:
>>How do you do it? I need to sum a field within a group after the
group changes and put it in the group footer.

Referral Header
Referral Name
Detail
Referral Dollars
Referral Footer
Total Group Referral Dollars

Thanks,

-paulw

Review RunningSum in help.


Well, the step-by-step instructions in the help are not working.

The control source of the text box (txtRezCost) in the detail section
is:
=DSum("[total]","[qryResTotalA]","[ReservationID]=reports![rptMoneybyClientReferral]![ReservationID]")

I created a text box in the Referral Footer and set it to
=Sum(Reports!rptMoneyByClientReferral!txtRezCost) and set the running
sum property to "over group"

The instructions say to just set it to the text box in the detail
section but I had to qualify it to stop getting prompted for the value
of txtRezCost when the report is run.

I am getting zero for the sum value.

-pw

Sep 5 '08 #4
PW
On Fri, 5 Sep 2008 01:22:26 +0100, " kp012g3109"
<kp********@blueyonder.co.ukwrote:
>The fact that you are being asked to provide this information, means that
the report cannot find it.

You need to check the control on the report and ensure it has the correct
ref.
Nope. I had to add Reports!rprtname
>
"PW" <pa**********************@removehotmail.comwrote in message
news:qm********************************@4ax.com.. .
>On Tue, 02 Sep 2008 13:07:58 -0700, Salad <oi*@vinegar.comwrote:
>>>PW wrote:

How do you do it? I need to sum a field within a group after the
group changes and put it in the group footer.

Referral Header
Referral Name
Detail
Referral Dollars
Referral Footer
Total Group Referral Dollars

Thanks,

-paulw

Review RunningSum in help.


Well, the step-by-step instructions in the help are not working.

The control source of the text box (txtRezCost) in the detail section
is:
=DSum("[total]","[qryResTotalA]","[ReservationID]=reports![rptMoneybyClientReferral]![ReservationID]")

I created a text box in the Referral Footer and set it to
=Sum(Reports!rptMoneyByClientReferral!txtRezCos t) and set the running
sum property to "over group"

The instructions say to just set it to the text box in the detail
section but I had to qualify it to stop getting prompted for the value
of txtRezCost when the report is run.

I am getting zero for the sum value.

-pw
Sep 8 '08 #5

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

Similar topics

9
by: Yaroslav Bulatov | last post by:
I made an array of 10 million floats timed how long it takes to sum the elements, here's what I got (millis): gcc -O2: 21 Python with numarray: 104 Python with Numeric: 302...
2
by: Targa | last post by:
<input NAME="TAXRATE" onBlur="this.form.TAX.value = (this.form.TAXRATE.value - 0) * (this.form.ITEM1TOTAL.value - 0) + (this.form.ITEM2TOTAL.value - 0) " Size="4"> In my TAX field I get...
12
by: dixie | last post by:
Can someone familiar with Access 2003 please answer this question? I am asking because I don't have the use of A2003. When Access 2003 finds an Access 2000 database, does it come up with some...
7
by: Hank | last post by:
I have a report-summing problem using Access 2000. When a section runs over the end of the page, sometimes a detail gets picked up twice. Example: Customer Header XYZ Company Detail Section...
0
by: Arnold | last post by:
Hi Everyone; In a report, I've essentially recreated a paper sheet by adding various labels--name, date, problem, year, Progress Notes, etc.--and horizontal lines (people have traditionally...
4
by: dancole42 | last post by:
So I have an invoicing database based on two main forms: Orders and OrderLines. Orders has fields like: OrderID BillingMethod OrderDate CreditCard CCExp OrdSubTotal ShippingCharge
7
by: Salad | last post by:
I am converting an application from A97 to A2003. I have 2 tables created by another application as a Foxpro.dbf. The table has no index. The connect string in A97 is FoxPro...
27
by: Mark | last post by:
Hi all, I have a scenario where I have a list like this: User Score 1 0 1 1 1 5 2 3 2 1
2
by: Smartin | last post by:
Using A2003. I tried to query for records that contain a trailing '%' symbol in a certain field but was unable to get this to work. Knowing % is a wildcard character I tried substituting the...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.