Hi there
How do I get Access to calculate an rate ...
tonnage/(date and time finished-date and time started)
in either the data table or form?
Well, you can't and shouldn't in the data table. A Table is NOT a spreadsheet
and does not support calculations, nor should you store calculated values!
You can do calculations in a couple of ways. In a Query you can use a
calculated field by typing an expression in a vacant Field cell, such as
Rate: [tonnage] / DateDiff("h", [time started], [time finished])
to divide the tonnage by the number of hours between the times (use "n" for
miNutes, "m" for Months, "d" for Days etc.)
Or you can use a similar expression preceded by an = sign rather than a new
fieldname in the Control Source of a form or report textbox.
John W. Vinson [MVP]