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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |