Hi,
I'm putting together a simple project which records peoples weight loss/gain, they are measured from time to time but I need a query to compare with the previous value in a report and don't know how to calculate the loss/gain field, as below.
id name date waist loss/gain chest loss/gain
1 dave april 36" 42"
2 dave may 37" +1" 41" -1"
3 dave june 36" -1" 41" 0
4 dave july 35" -1" 40" -1"
I can't use the date, other than to say the previous record by date, as measurements could be taken randomly.
Thanks for looking,
Mark.
I'm putting together a simple project which records peoples weight loss/gain, they are measured from time to time but I need a query to compare with the previous value in a report and don't know how to calculate the loss/gain field, as below.
id name date waist loss/gain chest loss/gain
1 dave april 36" 42"
2 dave may 37" +1" 41" -1"
3 dave june 36" -1" 41" 0
4 dave july 35" -1" 40" -1"
I can't use the date, other than to say the previous record by date, as measurements could be taken randomly.
Thanks for looking,
Mark.