T
Tony in Michigan
I have a number of data fields which are two decimal currency values stored
as numbers. The fields are all associated to specific files [FIELD_FILE]
in order to validate the data against a zero decimal reference value I need
to sum all the related [FIELD_FILE] values and compare to the reference.
The problem I have, is that the reference value was generated by summing
rounded values.
1.51+1.49+1.49+1.49=5.98 rounded to 6, the reference value is 2+1+1+1=5
How can I do this in access?
Right now I do the following
UPDATE Q1: Round([field],0) populate new FIELD_ROUND
MAKE TABLE Q2: group by [FIELD_FILE] sum [field_round] Gives me a subset
of values to evaluate
Q3: I validate the above by comparing the reference value to the summed
value from Q2 [reference]-[summed_field_round] = 0 valid
How can I clean this up? and what references are there for learing mor
involved queries and formulas?
as numbers. The fields are all associated to specific files [FIELD_FILE]
in order to validate the data against a zero decimal reference value I need
to sum all the related [FIELD_FILE] values and compare to the reference.
The problem I have, is that the reference value was generated by summing
rounded values.
1.51+1.49+1.49+1.49=5.98 rounded to 6, the reference value is 2+1+1+1=5
How can I do this in access?
Right now I do the following
UPDATE Q1: Round([field],0) populate new FIELD_ROUND
MAKE TABLE Q2: group by [FIELD_FILE] sum [field_round] Gives me a subset
of values to evaluate
Q3: I validate the above by comparing the reference value to the summed
value from Q2 [reference]-[summed_field_round] = 0 valid
How can I clean this up? and what references are there for learing mor
involved queries and formulas?