jana said:
I would like for a field to round up a calculation and
then sum off of the rounded up number.
Yes, you can do that. How you would do it depends on what
you mean by "round up".
If you mean you want any fractional part to go to the next
larger integer, then I suggest you create a Public function
in a standard module to do the "rounding". (In math speak,
this is called the Ceiling of the number.)
Public Function Ceiling(varNumber As Variant) As Variant
If IsNumeric(varNumber) Then
If Int(varNumber) = varNumber Then
Ceiling = varNumber
Else
Ceiling = Int(varNumber + 1)
End If
Else
Ceiling = Null
End If
End Function
Then you can use the function anywhere you want to do this
kind of "rounding". In a query or a report footer, the sum
would be like:
=Sum(Ceiling(numberfield))