If you simply want to add the values from several fields, then I don't know
why you are using SUM. That would sum values from multiple records.
To add two fields and display the result in a control, you'd just use...
[SomeField1] + [SomeField2]
I would expect your formula to be...
=([Total Sort/Rework/Audit Time:]*43)+([Total Suspect Pieces:]*0.85)
Separate issue:
Do you really have a fields called [Total Sort/Rework/Audit Time:]?
Typically, you would store separate pieces of data in fields. Calculations
would then be performed in your forms, queries and tables. If you do have a
field named [Total Sort/Rework/Audit Time:], do you also have three other
fields in your table named [Total Sort], [Rework], and [Audit Time:]? If
so, then you need to rethink your table design. What happens if you notice
a typo and change the value of [Audit Time:]? What would prompt this other
field to be recalculated?
Rick B
Phil said:
Hi Rick,
I'm not sure why the names of the controls are important. The formula is
below. The control names are in square brackets.
=Sum(([Total Sort/Rework/Audit Time:]*43)+([Total Suspect Pieces:]*0.85))
I believe that the answer to your last question is that it is a single form.
One record that contains over a dozen separate fields. I may be mistaken if
there is a terminology issue, though.
I am self taught, mostly be trial and error... eeek!
Phil
Rick B said:
What are the names for the controls? What is your formula?
Is this a single form with one record displayed, or a continuous form?
--
Rick B
Hi,
I have a data entry form in which specific numerical data is entered into
several different places in the same form. I placed an expression into a
text box to total these.
The problem is that the result is the total for the entire database, not
just the data in that particular form.
Is there a way to caluclate and display the data for a particular form
only?