Ian, for your database to be able to calculate the number of hours missed,
it would need to have the worker's roster, i.e. which days they were
scheduled on, and for how many hours on each of those days.
Since it does not seem to have that data, it cannot calculate how many hours
were missed between 2 dates.

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> Hi,
>
[quoted text clipped - 34 lines]
>
> Ian
NoviceIan - 08 Dec 2005 15:35 GMT
Hi,
I was affraid you might say that. I was thinking if I added a field to the
related staff table stating the number of days the employee worked the hours
over. I could use this field to get an estimate.
For example if I run a query to calculate the number of days between the
leave date and the current date then divide this by the number of days an
employee works over I wuold get a crude figure for how many days they've
missed to date. Then multiplying this figure by the number of hours worked
per day. Although not completely accurate would you agree its the best I can
do under the circumstanes?
Ian
> Ian, for your database to be able to calculate the number of hours missed,
> it would need to have the worker's roster, i.e. which days they were
[quoted text clipped - 41 lines]
> >
> > Ian
Allen Browne - 08 Dec 2005 16:01 GMT
Up to you, Ian, but I suspect that kind of estimate would be crude enough to
create more problems than it solves.
If you have a situation where most people work Mon - Fri, you could use the
Workday math in this link:
http://www.mvps.org/access/datetime/date0012.htm

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> Hi,
>
[quoted text clipped - 69 lines]
>> > Can somebody please either confirm my beliefs or give me some
>> > suggestions.