B
bobahendrix
Hello,
Let's say I have tblSubject, containing Subject ID's (SID), w/ a one to many
relationship
to
tblData,
which contains the Subject ID (tblSubject.SID), dates of blood testing
(tblData.Date),
and the test result (tblData.Result).
I want to create a query that gathers the above fields, and calculates the
sum of a record's [Result] and the [Result] of only the test JUST prior to it
(let's call that field [SumResult].
I can't figure out how to single out the previous record by the date...?
Thanks
Let's say I have tblSubject, containing Subject ID's (SID), w/ a one to many
relationship
to
tblData,
which contains the Subject ID (tblSubject.SID), dates of blood testing
(tblData.Date),
and the test result (tblData.Result).
I want to create a query that gathers the above fields, and calculates the
sum of a record's [Result] and the [Result] of only the test JUST prior to it
(let's call that field [SumResult].
I can't figure out how to single out the previous record by the date...?
Thanks