M
Mick Horan
I have a Master table with the following structure.
Date
Unit (1S, 2S, 2W, 4W ect.)
Shift (DAY, EVENING, NIGHT)
(other field follow)
There are 11 Units and 3 Shifts.
In a perfect world each day there would be 3 records input for each Unit one
for each shift. For example:
6/1/4 1S DAY 6/1/4 2W DAY
6/1/4 1S EVENING 6/1/4 2W EVENING
6/1/4 1S NIGHT 6/1/4 2W NIGHT
6/1/4 2S DAY 6/1/4 4W DAY
6/1/4 2S EVENING 6/1/4 4W EVENING
6/1/4 2S NIGHT 6/1/4 4W NIGHT
The problem is different people will update this file at different times so
I need a query that will quickly tell me what records are missing. Using my
example above if: 6/1/4 1S EVENING and 6/1/4 4W DAY where missing I want my
query to list just those 2 missing records and not all the other records.
I created a SHIFT table that contains a record for each Unit and Shift
thinking I could use it to bump up against my Master table and pull the date
from my Master and the missing Unit and Shift from my Shift table.
That's what I thought I would do.problem is I don't know how.
Anyone have an idea? Mick
Date
Unit (1S, 2S, 2W, 4W ect.)
Shift (DAY, EVENING, NIGHT)
(other field follow)
There are 11 Units and 3 Shifts.
In a perfect world each day there would be 3 records input for each Unit one
for each shift. For example:
6/1/4 1S DAY 6/1/4 2W DAY
6/1/4 1S EVENING 6/1/4 2W EVENING
6/1/4 1S NIGHT 6/1/4 2W NIGHT
6/1/4 2S DAY 6/1/4 4W DAY
6/1/4 2S EVENING 6/1/4 4W EVENING
6/1/4 2S NIGHT 6/1/4 4W NIGHT
The problem is different people will update this file at different times so
I need a query that will quickly tell me what records are missing. Using my
example above if: 6/1/4 1S EVENING and 6/1/4 4W DAY where missing I want my
query to list just those 2 missing records and not all the other records.
I created a SHIFT table that contains a record for each Unit and Shift
thinking I could use it to bump up against my Master table and pull the date
from my Master and the missing Unit and Shift from my Shift table.
That's what I thought I would do.problem is I don't know how.
Anyone have an idea? Mick