Hi There,
My company run a flexi time system whereby you can work extra hours to gain
additionnal days off.
In order to better plan my time I would like to design a database which
works out the flexitime based on the values you enter and assuming a 7.4
hour working day (based on a 37 hour week).
The data I would have is the daily start and finish times and a flexi
balance as a starting point.
I would also like the ability to add further flexi balance records to check
the figures in the future.
I have given an example below (numbers calculated mentally so forgive any
errors)
TABLE - TIMES (Copied from system or enterred speculatively to help plan
holidays)
---------------------
DateVal StartTime EndTime
01/01/01 07.45 18.00
02/01/01 09.00 17.42
03/01/01... 08.45 17.45
etc
TABLE - FLEXI (Copied from System as a starting point and as references)
--------------------
DateVal FlexiBalance
01/01/01 -2.00
03/01/05 02.09
etc
QUERY - FLEXIBALANCE (works out the flexi balance on a daily basis)
------------------------------------
DateVal StartTime EndTime StartFlex EndFlex FlexChk
01/01/01 07.45 18.00 -02.00 00.51 -02.00
02/01/01 09.00 17.42 00.51 02.09
03/01/01 08.45 17.45 02.09 03.45 02.09