Hi all
Been away from Access for a number of years so bear with me
I have been tasked with creating a simple Access T&A system. The company use time clocks whereby the data is polled automatically to a SQL database.
I can connect to the tables no problem and link to the data etc.
Each employee is to clock in or out depending upon whether it lunch time etc. so it might go something like this
Clock in first thing in the morning
Clock out for lunch
Clock back in after lunch
Clock hout for home time
Technically there should be a mimimum of four entries in the table for each employee for each day. (Obviously we know some people forget to clock in or out but thats not the issue at the moment.)
I have used the splitfield function to split the date and time field into their own fields using a query. Ive not added these to the main table yet but will want to do this 'on the fly'
My problem is I can't get my head round the time calculations between the four entries. These could also go over midnight just to add fuel to the fire.
Here is the sample data for one employee, obviously there will be more employees and this will need to be done over differing dates etc.
Any ideas would be great
Been away from Access for a number of years so bear with me
I have been tasked with creating a simple Access T&A system. The company use time clocks whereby the data is polled automatically to a SQL database.
I can connect to the tables no problem and link to the data etc.
Each employee is to clock in or out depending upon whether it lunch time etc. so it might go something like this
Clock in first thing in the morning
Clock out for lunch
Clock back in after lunch
Clock hout for home time
Technically there should be a mimimum of four entries in the table for each employee for each day. (Obviously we know some people forget to clock in or out but thats not the issue at the moment.)
I have used the splitfield function to split the date and time field into their own fields using a query. Ive not added these to the main table yet but will want to do this 'on the fly'
My problem is I can't get my head round the time calculations between the four entries. These could also go over midnight just to add fuel to the fire.
Here is the sample data for one employee, obviously there will be more employees and this will need to be done over differing dates etc.
Any ideas would be great