sluggercoach
Registered User.
- Local time
- Yesterday, 17:37
- Joined
- Jun 12, 2007
- Messages
- 21
Hi. I am attempting to do some calculations with time that requires me to pull data from 2 different records. Below is an example.
Record # Start Time Finish Time
1 9/3/2009 8:55:09 9/3/2009 9:01:09
2 9/3/2009 9:04:10 9/3/2009 9:07:05
Each record represents the cycle time for completing an action. I need to calculate the transportation time between the 2 cycles which is the Start Time of Record #2 minus the Finish Time of Record #1. I have to do this for 83 different records in over 100 stations. Of course in Excel this is easy but I need to automate this so that my managers can choose the set of data and then see the transfer time calculated for them. Any suggestions on how to do this in Access? I imagine I will need some kind of VB code to loop through but I am not sure if that is the best approach.
Record # Start Time Finish Time
1 9/3/2009 8:55:09 9/3/2009 9:01:09
2 9/3/2009 9:04:10 9/3/2009 9:07:05
Each record represents the cycle time for completing an action. I need to calculate the transportation time between the 2 cycles which is the Start Time of Record #2 minus the Finish Time of Record #1. I have to do this for 83 different records in over 100 stations. Of course in Excel this is easy but I need to automate this so that my managers can choose the set of data and then see the transfer time calculated for them. Any suggestions on how to do this in Access? I imagine I will need some kind of VB code to loop through but I am not sure if that is the best approach.