Can someone suggest the best way to accomlish the following:
I have a query that lists all of the records between two dates, these
records contain Machine owner, machine serial number and machine cycle count
among other things.
I would like to calculate the cycle count for each machine between the two
dates.
I have used the Min and Max functions against each serial but the problem is
if there is only one entry for a particular serial number, the min and max
values are the same. Ideally I need to use the last value before the first
set in the current query if that makes any sense.
Your suggestions/comments would be welcomed
I have a query that lists all of the records between two dates, these
records contain Machine owner, machine serial number and machine cycle count
among other things.
I would like to calculate the cycle count for each machine between the two
dates.
I have used the Min and Max functions against each serial but the problem is
if there is only one entry for a particular serial number, the min and max
values are the same. Ideally I need to use the last value before the first
set in the current query if that makes any sense.
Your suggestions/comments would be welcomed
Comment