Summing Calculated Fields
- From: "Nancy" <Nancy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 28 May 2005 09:34:02 -0700
Hi! In my database form, I have several fields that are calculated. I want
the query to sum those fields but cannot do it. I get different error
messages so I am defining the fields in hopes that someone can help.
In the form:
Control Source for [TotalDue] is:
=([RegFee]+[RegPreConfFee]+[MealsTotal]+[GiftShopTotal]+[CEUFee]+[ScholContrib]+[AdvocContrib])
[BalDue1] is the remaining balance after the 1st payment – necessary because
some have 2 payments
Control Source for [BalDue1] is:
=([TotalDue]-[TotalPaid1])
[BalDue2] is the remaining balance after the 2nd payment – hopefully $0 but
occasionally not true so needs to be included in the report.
Control Source for [BalDue2] is:
=([TotalDue]-[TotalPaid1]-[TotalPaid2])
[GrdTotPaid] is the total of both payments.
Control Source for [GrdTotPaid] is:
=([TotalDue]-[TotalPaid1]-[TotalPaid2])
These work fine in the form or in a report showing individual records, but
when I try to sum the amounts for a cumulative report, I cannot get a sum for
the fields that used calculations.
Thanks in advance!
--
nhb -- nc
.
- Follow-Ups:
- Re: Summing Calculated Fields
- From: Marshall Barton
- Re: Summing Calculated Fields
- From: John Spencer (MVP)
- Re: Summing Calculated Fields
- Prev by Date: Immediate If Function
- Next by Date: RE: Immediate If Function
- Previous by thread: Immediate If Function
- Next by thread: Re: Summing Calculated Fields
- Index(es):
Relevant Pages
|
|