I am using Access 2000
I am trying to calculate a turnover time between surgeries in an operating room suite.
I have multiple Operating Room.
I am running a query which will sort by the date and by room number.
The Table Name is: SurgLog
The two field names that I am interested in.
[TimeToRoom]
[TimeFromRoom]
I have a third field called [LastSurgEndingTime] that will equal the previous [TimeFromRoom]
A fourth field is [DeltaFromTo]
DeltaFromTo: [LastSurgEndingTime]-[TimeToRoom]
This is the turnover time.
What is the correct code to have next [LastSurgEndingTime] equal to the last records [TimeFromRoom]?
This is an easy equation in Excel but I cannot find the correct syntax for Access.
Thanks for the help
Mike
I am trying to calculate a turnover time between surgeries in an operating room suite.
I have multiple Operating Room.
I am running a query which will sort by the date and by room number.
The Table Name is: SurgLog
The two field names that I am interested in.
[TimeToRoom]
[TimeFromRoom]
I have a third field called [LastSurgEndingTime] that will equal the previous [TimeFromRoom]
A fourth field is [DeltaFromTo]
DeltaFromTo: [LastSurgEndingTime]-[TimeToRoom]
This is the turnover time.
What is the correct code to have next [LastSurgEndingTime] equal to the last records [TimeFromRoom]?
This is an easy equation in Excel but I cannot find the correct syntax for Access.
Thanks for the help
Mike