G
Guest
I have a that has two decimal values, PCT and MAX_VAL, both of which are set
to have 2 decimal places. I have created a view (ACK! I mean "query" in
Access-speak!), which has a calculated value PCT_VAL which is [PCT] *
[MAX_VAL]. I have set the format of this column to be FIXED. I then created
a form, in which I want a total for all records displayed. I created a text
box (with the format set to FIXED, 2 decimal places) and used the formula
"=SUM([PCT_VAL]). The formula "works" (that is to say, a value is returned),
however it is truncated and then displayed with 2 decimal places. For
example, the record set has two values 2.34 and 2.5. The total should be
4.84, but it displayes 4.00. What could possibly be causing the data to be
truncated? I have set everything to be Decimal / Fixed with 2 decimal
places. Any thoughts?
to have 2 decimal places. I have created a view (ACK! I mean "query" in
Access-speak!), which has a calculated value PCT_VAL which is [PCT] *
[MAX_VAL]. I have set the format of this column to be FIXED. I then created
a form, in which I want a total for all records displayed. I created a text
box (with the format set to FIXED, 2 decimal places) and used the formula
"=SUM([PCT_VAL]). The formula "works" (that is to say, a value is returned),
however it is truncated and then displayed with 2 decimal places. For
example, the record set has two values 2.34 and 2.5. The total should be
4.84, but it displayes 4.00. What could possibly be causing the data to be
truncated? I have set everything to be Decimal / Fixed with 2 decimal
places. Any thoughts?