I asked this in a different thread and got no replies, so I am trying again in case it wasn't understood.
I want to calculate time differences between time fields in two tables. The start time and the end time are in two different tables, but there is no other unique field in both tables that I can link. Each table has the device number (which has several records with same device numbers and different times) and the date/time. The only consolation is that each transaction ends before the next one begins, so chronologically it would look like start time, end time, start time, end time, etc.
I cannot copy the table here, but here is an example.
table 1
Number Time
1 6:00 am
1 7:30 am
2 6:30 am
2 9:15 am
table 2
Number Time
1 6:05 am
1 7:36 am
2 6:33 am
2 9:20 am
The results I want here would be 5, 6, 3, and 5 minutes. How do i make sure the first record 1 compares the first record 1 in the other table, and so on.
The more I try to explain this, the more impossible it sounds.
Any ideas?
I want to calculate time differences between time fields in two tables. The start time and the end time are in two different tables, but there is no other unique field in both tables that I can link. Each table has the device number (which has several records with same device numbers and different times) and the date/time. The only consolation is that each transaction ends before the next one begins, so chronologically it would look like start time, end time, start time, end time, etc.
I cannot copy the table here, but here is an example.
table 1
Number Time
1 6:00 am
1 7:30 am
2 6:30 am
2 9:15 am
table 2
Number Time
1 6:05 am
1 7:36 am
2 6:33 am
2 9:20 am
The results I want here would be 5, 6, 3, and 5 minutes. How do i make sure the first record 1 compares the first record 1 in the other table, and so on.
The more I try to explain this, the more impossible it sounds.
Any ideas?
Last edited: