Re: Sum totals not showing up in Queries or Reports

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Wed, 11 Mar 2009 09:29:01 -0700, NewAccessUser wrote:

Hi, new user here. I have created a table, which have fields for different
travel expenses. The last field is a total, and while in the design view of a
new form, I went to the properties of that "total" field and made the Control
Source to be the sum of the corresponding 6 fields I want summed. It DOES
produce the correct sum when shown on the form, however when I run a query or
make a report, the sum value doesn't show up when that field is listed. It is
blank. What am I doing wrong?

That is correct. It is not stored. You are attempting to improperly
use Access.
If you made the control source of a control bound to [Total] into an
expression, such as
=[FieldA] + FieldB]
how would Access know which field to store the data in as it is no
longer bound to [Total]?
Storing calculated data goes against the rules of database design.
Calculated data need not be stored in a table.
Anytime you need the result of a calculation, simply re-calculate it,
on a form, in a report, or in a query.
You can delete that field named "Total" from your table.



--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
.



Relevant Pages

  • English eBooks Engineering
    ... Adaptive Voltage Control in Power Systems Fusco, ... Advanced Design Techniques for RF Power Amplifiers Krizhanovski, ... Advanced Fuzzy Logic Technologies in Industrial Applications Bai, ... Bioinformatics Using Computational Intelligence Paradigms Jain, ...
    (sci.med.nutrition)
  • Re: Access 2010 Web Form - tab order
    ... and the fact that we have control layouts to move controls together as a group are actually two distinct issues. ... I think for existing applications and most things I have, I do prefer simple design mode, but some of these new features can really help and terms of productivity. ... They could've perhaps built something that took an existing access form and then had some some type of special ActiveX or client program you install on your browser that renders that form. ... Keep in mind if the form you specify in the browse two command does not have to be part of the current navigation control set. ...
    (comp.databases.ms-access)
  • Re: Microchip programmer Sydney Aus
    ... schematic design, embedded firmware and pcb layout to finished product. ... possible through the use of advanced microcontroller products from Microchip ... microcontroller applications in Innovative Power and Control solutions. ... Resources cover a broad range of electronics ...
    (sci.electronics.design)
  • Ebooks Forum
    ... Analysis and Design of Advanced Multiservice Networks Supporting ... Control and Observer Design for Nonlinear Finite and Infinite ... IUTAM Symposium on Computational Approaches to Multiphase Flow ... Islamic Philosophy and Occidental Phenomenology on the Perennial Issue ...
    (sci.med.nutrition)
  • amazing ebook forum
    ... Advances in High Performance Computing and Computational Sciences ... Analysis and Design of Advanced Multiservice Networks Supporting ... Control and Observer Design for Nonlinear Finite and Infinite ... IUTAM Symposium on Computational Approaches to Multiphase Flow ...
    (sci.med.cardiology)