Calculate hours used on a job

O

OhOH

Hello,
I have a Customer table with an 'hours purchased' field. This is the number
of technical support hours they have bought. I also have a 'fault log'
table with the field 'HoursUsed' against that particular fault. I need help
creating a system that will calculate the number of hours each customer has
used and will calculate the remaining hours each customer has left.
Hopefully with an alert when hours reach a certain level. The hours are
deducted per 6 minutes and would need listed to 1 decimal place.
Hope someone can help.
Thanks
KP
 
K

Keith W

OhOH said:
Hello,
I have a Customer table with an 'hours purchased' field. This is the
number of technical support hours they have bought. I also have a 'fault
log' table with the field 'HoursUsed' against that particular fault. I
need help creating a system that will calculate the number of hours each
customer has used and will calculate the remaining hours each customer has
left. Hopefully with an alert when hours reach a certain level. The hours
are deducted per 6 minutes and would need listed to 1 decimal place.
Hope someone can help.
Thanks
KP
You can do the calculation in a query easily enough (HoursRemaining =
TotalHours - HoursUsed). The alert could be achieved at form level by
testing HoursRemaining in the form's On Current event:

If Me.txtHoursRemaining < x Then <Do alert stuff>

Pretty high level but you get the idea.

Regards,
Keith.
www.keithwilby.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top