Here is a tricky one, I need a piece of code that will look at a column in a table that contains time. Then it will sum up the times in sequences, for example...
If the column has 1:30, 1:31, and 1:32, each time being a different record, it will come to 2 minutes.
But if the column has 1:30, 1:31, 1:32, 1:50, 1:51 it will start a new sum after 1:32. So in this case I would have a sum of 2 minutes between 1:30 and 1:32. And a sum of 1 minute between 1:50 and 1:51.
hope this makes sense,
Thanks for you help.
J
If the column has 1:30, 1:31, and 1:32, each time being a different record, it will come to 2 minutes.
But if the column has 1:30, 1:31, 1:32, 1:50, 1:51 it will start a new sum after 1:32. So in this case I would have a sum of 2 minutes between 1:30 and 1:32. And a sum of 1 minute between 1:50 and 1:51.
hope this makes sense,
Thanks for you help.
J