D
Deb
Using Access 2000. Have a subform that is based on a query with the fields
FamMemID, TrainingYr, OGTrainHrType, OGTrainHrs. The data displayed on the
subform is based on the FamMemID on the parent form and the year selected on
another subform. The detail section of the subform contain the fields
OGTrainHrType and OGTrainHrs. What I want is to calculate the total
OGTrainHrs. In the form footer I have a text box with the control source
=Sum(OGTrainHrs). Both the OGTrainHrs field and the sum are set to standard
format, 2 decimal places. I am getting a sum... but it's not always
displaying the digits to the right of the decimal point, ie. 1.50+1.50=3.00
but 1.50+1.50+1.50=4.00 instead of 4.50. Even if there is only one value in
the detail section, ie 6.50 the sum field displays 6.00. Does anyone have
any idea what would cause this and how I can get it to calculate/display
correctly? Thanks, Deb
FamMemID, TrainingYr, OGTrainHrType, OGTrainHrs. The data displayed on the
subform is based on the FamMemID on the parent form and the year selected on
another subform. The detail section of the subform contain the fields
OGTrainHrType and OGTrainHrs. What I want is to calculate the total
OGTrainHrs. In the form footer I have a text box with the control source
=Sum(OGTrainHrs). Both the OGTrainHrs field and the sum are set to standard
format, 2 decimal places. I am getting a sum... but it's not always
displaying the digits to the right of the decimal point, ie. 1.50+1.50=3.00
but 1.50+1.50+1.50=4.00 instead of 4.50. Even if there is only one value in
the detail section, ie 6.50 the sum field displays 6.00. Does anyone have
any idea what would cause this and how I can get it to calculate/display
correctly? Thanks, Deb