
Help with updating a field value
I know this is more of a query question but I posted there yesterday and
have not gotten any response. This group seems multifacited and has always
been responsive. So here is the question.
After we print an order I move that record to a History Table. I do some
calculations and input an amout into a field called [OrderTotal] It appears
that this works (most of the time) but I have some records where the
[OrderTotal] is incorrect.
The history table has fields [WeightChg], [SpecialChg], and [OrderTotal]
I have a related table OrderExtraCharges that contains multiple records that
must be calculated into the [OrderTotal] in the history table. The field in
this table is called [ResultsChg]
I have created a query that calculates the [NewTotal] that is working
properly
[WeightChg]+[SpecialChg]+[SumOfResultsChg]
I want to go thru each record in the history table and update [OrderTotal]
to the value in my query called [NewTotal].
I know this is probably very easy, but I have been working on it for two
days, and am still not getting it.
Any help would be appreciated.
Thanks in advance