Hello Everyone
In my Maintenance Database I have a Maintenance Activity form onto which an engineer enters data for machines - nature of fault, corrective action, parts used, repair time, type of activity etc etc.
I have some Queries on the form - Man Hours per Machine, Maintenance Request Forms (MRFs) per Machine, etc etc. The Queries group together (sum for man hours, count for MRFs) based on a date parameter - the user enters the month (for example 06/2015), and the data for that month appears.
I also have a preventative maintenance form, with a Whats Due and Whats Overdue button/s. there are also a few other bits.
We are due a customer audit, and the database will be part of that audit. The customer has a scale - 1=fail, 2=fail, 3=pass,4= highest score.
Currently, the database will give us a 3, but I want to aim for a 4!
To do this, I need to incorporate a "predictive" element to the system.
At the moment, when I send my Monthly Report to my boss, I manually look at a machines history, and if it has required more man hours, or has required maintenance more frequently, I instruct one of my guys to assess the machine, and perhaps increase the frequency of the preventative maintenance carried out on it to bring it back under control.
However, this is very time consuming. So, now for the question...
Can I write a bit a code (or a query or something) whereby I give the database a number, say 6, which relates to the maximum MRFs in a month for any machine. If the number of MRFs is = to or >than, a pop up (or dialog box) appears and says "HEY!! - Sort this machine out!!" (or perhaps a more polite message), so that the monitoring is done automatically.
Therefore, incorporating a predictive element.
The database would need to automatically only consider MRFs within the current month.An MRF is created for each new record (MRF is an autonumber and PK).
Alternatively, is there a way to expand on that and have an automatic function where the database calculates the average count of MRFs per month, and for example if the count of MRFs in the current month is AVERAGE + 2, it will display the same warning. the warning should obviously include the name of the machine.
Hopefully I explained that correctly, and apologies for the long read.
Thanks in advance for any assistance anyone can give me.
Thanks all
Rek