P
Patrick
Access 2000
Situation:
I have two devices, A and B, that I track the shutdown and startup times
for. At times, A might have shutoff and started up all the while B was
running, or B might have shutoff and started up several times and A might
have shutoff and started up a couple of times with A and B's shutdown periods
overlapping. These are just a couple of examples of cases. There could be any
imanginable combination of cases. I need to find and report, for a given six
month reporting period, each event where both device's shutdown periods
overlap for >= one hour.
Setup:
I have two tables:
1) Devices - with one field named: DeviceID, datatype = text, that stores
the names of the two devices (A & B), and
2) Shutdowns - with four fields named: ShutdownID, datatype = Autonumber;
DeviceID, datatype = text (setup as a combobox that refers back to the
Devices table); ShutdownTime, datatype = date/time; StartupTime, datatype =
date/time, this table records the shutdown and startup times for each device
Problem:
Not sure how to find the case where A and B's shutdown periods overlap for
setup? If so, how do I get started? Or, do I need to record additional
information and/or add tables?
Situation:
I have two devices, A and B, that I track the shutdown and startup times
for. At times, A might have shutoff and started up all the while B was
running, or B might have shutoff and started up several times and A might
have shutoff and started up a couple of times with A and B's shutdown periods
overlapping. These are just a couple of examples of cases. There could be any
imanginable combination of cases. I need to find and report, for a given six
month reporting period, each event where both device's shutdown periods
overlap for >= one hour.
Setup:
I have two tables:
1) Devices - with one field named: DeviceID, datatype = text, that stores
the names of the two devices (A & B), and
2) Shutdowns - with four fields named: ShutdownID, datatype = Autonumber;
DeviceID, datatype = text (setup as a combobox that refers back to the
Devices table); ShutdownTime, datatype = date/time; StartupTime, datatype =
date/time, this table records the shutdown and startup times for each device
Problem:
Not sure how to find the case where A and B's shutdown periods overlap for
Can I get the information I need using quearies, VBA or both with my current= one hour.
setup? If so, how do I get started? Or, do I need to record additional
information and/or add tables?