Ok, I deleted my last post. It was garbage. Here's a better way.
Ok, in your query (in the query design view), right-click on the table that is in your query, and select Properties. Change "Alias" to "X" (no quotes). Then add a field in your query (make sure that your query is sorted ascending by Date) something like this:
Diff: [fldProjNum]-(SELECT fldProjNum from tbl060603b WHERE fldDateIn = (SELECT MAX([fldDateIn]) FROM tbl060603b WHERE [fldDateIn] < X.fldDateIn))
You'll need to change the table and field names - in my query,
tbl060603b is my table
fldProjNum is my "temperature"
fldDateIn is my date
This one does work.
HTH,
Russell