G
Guest
Hello~
I am looking for some assistance in building a query or designing a module.
I would like to calcuate the number of shifts between a date/time stored in
a table and the current date/time. It would also be helpful if the formula
did not count the shift in which the event occured.
For example if the table had the following two records
ID
1 03/23/2006 02:00 PM
2 03/24/2006 06:55 AM
3 03/24/2006 07:57 AM
A query would return the following based on the difference between the
date/time storedin the table and the current time (if this was run on 3/24/06
@ 2pm).
ID Num_Shifts
1 2
2 1
3 0
Any help would be greatly appreciated!
Thanks
Mat
I am looking for some assistance in building a query or designing a module.
I would like to calcuate the number of shifts between a date/time stored in
a table and the current date/time. It would also be helpful if the formula
did not count the shift in which the event occured.
For example if the table had the following two records
ID
1 03/23/2006 02:00 PM
2 03/24/2006 06:55 AM
3 03/24/2006 07:57 AM
A query would return the following based on the difference between the
date/time storedin the table and the current time (if this was run on 3/24/06
@ 2pm).
ID Num_Shifts
1 2
2 1
3 0
Any help would be greatly appreciated!
Thanks
Mat