A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Totaling numbers on a form for submission to table



 
 
Thread Tools Display Modes
  #1  
Old August 25th, 2004, 11:47 PM
Stranger
external usenet poster
 
Posts: n/a
Default Totaling numbers on a form for submission to table

Hi,

I've been reading through the different posts regarding totaling on a form.

My question is if I have several fields where a score will be put and I add a box (Not sure what type) at the bottom to show the total score, when I submit the form, can I get the total score to submit to the table in a field called totalscore?

Thanks!!!
  #2  
Old August 26th, 2004, 07:08 AM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Wed, 25 Aug 2004 18:47:36 -0400, "Stranger"
wrote:

Hi,

I've been reading through the different posts regarding totaling on a form.

My question is if I have several fields where a score will be put and I add a box (Not sure what type) at the bottom to show the total score, when I submit the form, can I get the total score to submit to the table in a field called totalscore?

Thanks!!!


Storing derived data such as this in your table accomplishes
three things: it wastes disk space; it wastes time (almost
any calculation will be MUCH faster than a disk fetch); and
most importantly, it risks data corruption. If one of the
underlying fields is subsequently edited, you will have data
in your table WHICH IS WRONG, and no automatic way to detect
that fact.

Just redo the calculation whenever you need it, either as a
calculated field in a Totals Query or just as you're now doing it -
in the control source of a Form or a Report textbox.

John W. Vinson[MVP]
(no longer chatting for now)
  #3  
Old August 26th, 2004, 01:10 PM
Stranger
external usenet poster
 
Posts: n/a
Default

Excellent!!!

thanks for the reply.

"John Vinson" wrote in message
...
On Wed, 25 Aug 2004 18:47:36 -0400, "Stranger"
wrote:

Hi,

I've been reading through the different posts regarding totaling on a

form.

My question is if I have several fields where a score will be put and I

add a box (Not sure what type) at the bottom to show the total score, when I
submit the form, can I get the total score to submit to the table in a field
called totalscore?

Thanks!!!


Storing derived data such as this in your table accomplishes
three things: it wastes disk space; it wastes time (almost
any calculation will be MUCH faster than a disk fetch); and
most importantly, it risks data corruption. If one of the
underlying fields is subsequently edited, you will have data
in your table WHICH IS WRONG, and no automatic way to detect
that fact.

Just redo the calculation whenever you need it, either as a
calculated field in a Totals Query or just as you're now doing it -
in the control source of a Form or a Report textbox.

John W. Vinson[MVP]
(no longer chatting for now)



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autonumber Ally H. General Discussion 7 August 27th, 2004 04:51 PM
Semicolon delimited text query help Al Guerra Running & Setting Up Queries 3 August 12th, 2004 11:50 AM
Newbie? Do I use Report or Query John Egan New Users 11 June 28th, 2004 08:31 PM
synchronizing form and list box Deb Smith Using Forms 8 June 21st, 2004 08:15 PM
COMPARE THE TWO TABLES Stefanie General Discussion 0 June 4th, 2004 04:36 PM


All times are GMT +1. The time now is 07:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.