I have grouped by bus and want to subtract the first record in the group from the
first record in the next group. Even when I move the fields from detail to the
Group Header and the duplicate records are not visible the previous function
continues to subtract the non-visible records. Any ideas on this would
be much appreciated.
For example, in the first record below for bus 5011 I want to subtract
5:13:54 - 4:58:54
For bus 5018 I want to subtract
5:31:54 - 5:13:54
For bus 5008 I want to subtract
5:43:55 - 5:31:54
For bus 5009 I want to subtract
5:58:55 - 5:43:55
Can someone explain how to do this?
incLogID tDate incTime bus
5011
148430872 2/23/16 4:58:54 5011
5018
148432058 2/23/16 5:13:54 5018
148432530 2/23/16 5:18:54 5018
148432610 2/23/16 5:19:54 5018
5008
148433982 2/23/16 5:31:54 5008
5009
148435548 2/23/16 5:43:55 5009
148435682 2/23/16 5:44:55 5009
148436396 2/23/16 5:49:55 5009
148436682 2/23/16 5:51:55 5009
5017
148437758 2/23/16 5:58:55 5017
5010
148440910 2/23/16 6:14:55 5010
5021
148442678 2/23/16 6:22:55 5021
5015
148445796 2/23/16 6:36:55 5015
5007
148449412 2/23/16 6:51:55 5007
5013
148452618 2/23/16 7:04:56 5013
148452900 2/23/16 7:05:56 5013
148453120 2/23/16 7:06:56 5013
5022
148455376 2/23/16 7:15:56 5022
148458510 2/23/16 7:27:56 5022
5014
148458522 2/23/16 7:27:56 5014
148460280 2/23/16 7:33:56 5014
148460526 2/23/16 7:34:56 5014
148462072 2/23/16 7:39:56 5014
148462668 2/23/16 7:41:56 5014
148462952 2/23/16 7:42:56 5014
148463278 2/23/16 7:43:56 5014
5001
148462080 2/23/16 7:39:56 5001
first record in the next group. Even when I move the fields from detail to the
Group Header and the duplicate records are not visible the previous function
continues to subtract the non-visible records. Any ideas on this would
be much appreciated.
For example, in the first record below for bus 5011 I want to subtract
5:13:54 - 4:58:54
For bus 5018 I want to subtract
5:31:54 - 5:13:54
For bus 5008 I want to subtract
5:43:55 - 5:31:54
For bus 5009 I want to subtract
5:58:55 - 5:43:55
Can someone explain how to do this?
incLogID tDate incTime bus
5011
148430872 2/23/16 4:58:54 5011
5018
148432058 2/23/16 5:13:54 5018
148432530 2/23/16 5:18:54 5018
148432610 2/23/16 5:19:54 5018
5008
148433982 2/23/16 5:31:54 5008
5009
148435548 2/23/16 5:43:55 5009
148435682 2/23/16 5:44:55 5009
148436396 2/23/16 5:49:55 5009
148436682 2/23/16 5:51:55 5009
5017
148437758 2/23/16 5:58:55 5017
5010
148440910 2/23/16 6:14:55 5010
5021
148442678 2/23/16 6:22:55 5021
5015
148445796 2/23/16 6:36:55 5015
5007
148449412 2/23/16 6:51:55 5007
5013
148452618 2/23/16 7:04:56 5013
148452900 2/23/16 7:05:56 5013
148453120 2/23/16 7:06:56 5013
5022
148455376 2/23/16 7:15:56 5022
148458510 2/23/16 7:27:56 5022
5014
148458522 2/23/16 7:27:56 5014
148460280 2/23/16 7:33:56 5014
148460526 2/23/16 7:34:56 5014
148462072 2/23/16 7:39:56 5014
148462668 2/23/16 7:41:56 5014
148462952 2/23/16 7:42:56 5014
148463278 2/23/16 7:43:56 5014
5001
148462080 2/23/16 7:39:56 5001