Skip to content
Your Access Due-Date Query Is a Recall Rule. Write It Down

Your Access Due-Date Query Is a Recall Rule. Write It Down

The overdue list in your Access calibration database follows a rule only the query knows. How to write it down, test it, and carry it into migration.

9 min read 1,661 words

The auditor points at an instrument on the floor and asks a plain question: "How did you decide this one was not due yet?"

You open the Access database. The overdue query says it is fine. You know the query is usually right. But the next question is the one that matters: "What is your recall rule?" And you realise the rule is not written anywhere. It lives in a saved query, built years ago, perhaps by someone who has since left.

If that feels familiar, this article is for you. It is about one specific thing in a legacy calibration database: the logic that decides what is overdue. It is the most important part of the system, and the part least likely to be documented.

A stack of wrung steel gauge blocks on a slate bench beside a laptop showing an abstract table with one highlighted row

The query is the procedure, and nobody wrote the procedure

When an Access calibration database was built, the builder had to answer many small questions in order to make the due-date column work. They answered them once, in SQL or in a VBA function, and moved on. Each answer is now a quality decision with no owner and no revision history.

ISO 9001 clause 7.1.5.2 requires measuring equipment to be calibrated or verified at specified intervals, or prior to use. AS9100 goes a step further: it expects a process for the recall of equipment that needs calibration or verification, and a way to identify calibration status. IATF 16949 clause 7.1.5.2.1 adds requirements for the records themselves. ISO/IEC 17025 clause 6.4.7 asks laboratories to establish a calibration programme and review it as needed. ISO 10012 treats the review of calibration intervals as part of the metrological confirmation system.

None of these standards says "use a database." All of them assume you can explain how your system decides when an instrument comes back. A saved query is an implementation. A recall rule is the explanation. An auditor is entitled to ask for the second, and a practitioner on a public quality forum describes exactly this: being dinged in an AS9100 audit because the recall date methodology could not be justified from the Access database. I have only that account, not the audit report, so treat it as a pointer rather than proof. It matches what I have seen in practice, though.

Ten questions your query has already answered

Open your overdue query and your due-date field. Then try to answer each of these without guessing:

  1. What is the anchor? Is the next due date calculated from the date of the last calibration, or from the previous due date? The two drift apart whenever an instrument is calibrated early or late.
  2. Is the interval stored per instrument, per type, or hard-coded? A VBA function with a Select Case on instrument type is a rule, but it is invisible in the table.
  3. How are months handled? In Access, adding one month to 31 January gives 28 February (or 29 in a leap year). Adding twelve months to 29 February gives 28 February. Does your team expect "end of the month," "same day," or "last day of the due month"? The query picks one without asking.
  4. Where does "last calibration date" come from? Is it a typed field someone updates, or the latest record in the history table? If it is typed, it can disagree with the history.
  5. What does early calibration do? Does a calibration done three months ahead restart the interval, or does the original due date hold?
  6. When does a new instrument start its clock? At receipt, at first calibration, or at first use?
  7. What about a failed calibration? Does a fail with an as-found out-of-tolerance reading change the status, the interval, or only a comment?
  8. Is there a grace period? If anyone ever said "we allow two weeks," is that written in the query, or in someone’s head?
  9. What happens to instruments out of service? Are they excluded from the overdue list by a flag, by location, or by deleting the row?
  10. What does "overdue" mean on the day you run it? The query compares against the PC clock. It answers "what is overdue now," not "what was overdue on the day this product was measured."

That last question deserves a moment. An overdue list produced on Tuesday is not stored anywhere on Wednesday. If a customer asks which instruments were out of date during a particular production week, you reconstruct it from history, assuming the history is complete and the interval has not been edited since. That reconstruction is your recall rule being applied retrospectively, and if the rule is only in a query, you are hoping it behaved the same way last spring.

A worked example (illustrative)

Take two torque wrenches with a 12-month interval. One was calibrated on 3 March, and again on 20 January the following year, because the technician had a free slot. The register says "last calibrated 20 January."

Under an anchor-to-calibration-date rule, the next due date is 20 January. Under an anchor-to-due-date rule it would be 3 March, and the early calibration would change nothing. Both are defensible. They give different answers for the same instrument. Which one does your Access query implement, and does it match what your calibration procedure says?

Now add the typed "last calibration date" field. If the technician logged the new certificate in the history table but forgot to update the register field, the query still says 3 March of last year plus twelve months, and the instrument appears as overdue, or does not appear at all, depending on how the query reads the field. Nothing is broken in the technical sense. The database simply holds two truths.

A click-type torque wrench lying on a slate bench in front of a tablet showing an abstract dashboard

Write the rule before you migrate

A recall rule that fits in one paragraph is a good test. It should name the anchor, the interval source, how months are counted, what restarts the clock, what blocks use, and who may change an interval. Something like:

"The next calibration due date equals the date of the most recent passed calibration record plus the instrument’s assigned interval in calendar months. The interval is set per instrument by the Quality Engineer and reviewed after any out-of-tolerance result. An instrument past its due date is flagged overdue and may not be checked out for production use."

You do not have to like this wording. You have to be able to say what yours is. Then compare it with what your query actually does. In my experience the two disagree for a small number of instruments, and each disagreement is either a data error to fix or a rule to decide. Both are worth finding before an auditor does.

Using the rule to drive the migration

This is where the work pays twice. A staged migration (export, clean, map, validate, parallel run) already requires you to compare old and new. The written rule gives that comparison a standard.

Export and clean. Pull the instrument table and the full calibration history, not only the last-calibrated date. Bring history over as events, so the due date can be derived from records instead of trusted from a field.

Map. Decide where the interval lives. In PrüfDesk the interval is part of the instrument’s setup and the due date is calculated automatically from the calibration records, so the rule you wrote becomes something you configure and check, not something you retype each time.

Validate. For every instrument, compare the due date from the Access query with the due date in the new system. Every mismatch is a finding. Sort them: data entry error, a rule difference, or an undocumented exception. Resolve each one and note the reason. That list is also useful evidence of a controlled transition.

Parallel run. Run both for one full cycle of your shortest interval, or long enough to see a real calibration event flow through. Compare overdue lists weekly. The goal is not to prove the new system is clever. It is to show that the written rule and the system agree.

A row of thread plug gauges with GO and NO-GO ends on a slate bench, a monitor and granite plate blurred behind

What changes once the rule is in the system

Three things become easier, and I will keep to what the tool actually does.

First, the due date is calculated by the system from the latest calibration record, so the register field and the history can no longer disagree. Second, what happens to an overdue instrument is a setting, not an accident of a macro: PrüfDesk lets each tenant choose a hard block or a soft warning, so the policy in your paragraph is the behaviour on the floor. Third, check-outs and allocations carry a possession trail, so "who had this instrument, and was it in date?" is answered from records.

What the tool will not do is decide your policy. If your team has never settled whether early calibration restarts the interval, no software will settle it for you. That is a quality decision, and it belongs in your procedure.

A short checklist before you start

  • Extract the overdue query SQL and any VBA it calls. Save a copy with today’s date.
  • Write the recall rule in one paragraph and have a second person read it.
  • Identify every instrument where the typed last-calibration date differs from the latest history record.
  • List informal exceptions: grace periods, "do not use" tags, instruments kept off the list.
  • Decide how interval changes are approved and recorded.
  • Agree who signs off the validation comparison.

One last point

Office 2021 left support on 13 October 2026, and IT teams are now asking which desktop applications depend on it. Your Access file will keep opening. That is not the risk. The risk is a calibration programme whose central rule is known only to a query, and a person, who may not be there next year.

If you would like to test the approach on a small sample, pick fifty instruments, write the rule, and compare. It will tell you more about your migration than any plan, and it costs an afternoon.