Guest_imported
New member
- Jan 1, 1970
- 0
I'm trying to take the sum of a text box across all records in a form. The value that I'm trying to sum is calculated from a moderately complex formula. Taking sums of data not calculated with this formula works fine, but the box gives an #error if I try to take the sum of a field defined by this formula. Any ideas on how to fix this? The formula giving the #error is:<br><br>=Sum([GalLTWBefore]/(1+(([TempBefore]-60)*[Forms]![Barge]![TempCorrection])))<br><br>The following displays the right results:<br><br>=([GalLTWBefore]/(1+(([TempBefore]-60)*[Forms]![Barge]![TempCorrection])))<br><br>Taking the sum of a single item like:<br><br>=Sum([GalLTWBefore])<br><br>works as well<br><br>I've been trying to figure this problem out for a while now, and I'm getting frusterated. Thanks in advance for any help you can provide.<br><br>Jeff