froggiebeckie
Registered User.
- Local time
- Yesterday, 22:41
- Joined
- Oct 11, 2002
- Messages
- 104
I've been capturing data on PMs, that are due at specific frequencies. This data includes the date performed.
Now I've been asked to provided data on how well we've held to the schedule, so I need to compare the date completed to the previous date completed.
Simplified, I have records like this a COMPLETED PM table, going back over several years.
ID1 Machine A: Completed 01/01/17
ID2 Machine A: Completed 06/01/17
ID3 Machine B: Completed 02/01/17
ID4 Machine B: Completed 08/01/17
I have a query that pulls all of these records, grouped by Machine.
How can I compare the date in record 2, to the date in record 1, to determine the number of days between the two dates?
Got a feeling this isn't all that complicated, but I'm just stuck.
Hope someone can aim me in the right direction.
Thanks,
BeckieO
Now I've been asked to provided data on how well we've held to the schedule, so I need to compare the date completed to the previous date completed.
Simplified, I have records like this a COMPLETED PM table, going back over several years.
ID1 Machine A: Completed 01/01/17
ID2 Machine A: Completed 06/01/17
ID3 Machine B: Completed 02/01/17
ID4 Machine B: Completed 08/01/17
I have a query that pulls all of these records, grouped by Machine.
How can I compare the date in record 2, to the date in record 1, to determine the number of days between the two dates?
Got a feeling this isn't all that complicated, but I'm just stuck.
Hope someone can aim me in the right direction.
Thanks,
BeckieO