I have attempted to create a new database and am having a few problems... I am curious to know the best way to set up the following database: used to schedule certain types of patrols on a specific pipeline section during specific months for a specific person.
Here is basically how I am set up now...
The main table, Pipelines - with the primary key set on the pipeline number, contains general information about the pipeline.
A table for each of the following types of patrols which includes which month the patrol will take place, a description of the section, etc. These tables can duplicate the pipeline number since each section to be patrolled may be somewhat different.
Annual
Bi-Annual
Tri-Annual
Class
Highway
Railroad
Stream
Valve
I can run a query with the criteria of a certain person for a certain month for each of the tables above separately (ex: Annual table for John Doe, patrols during the month of March... I am however, unable to run a query for all of them at once (ex: all tables, for John Doe, patrols during the month of March) I get zero records... is it because these table are not related to one another? Each one is related back to the main pipeline table.
I have also attemped to run each query separately and then combine each of them into a report without success of what I want to see.
Confused yet? Any help would be greatly appreciated... I am willing to redesign if necessary... I have attempted this database from several angles and so far nothing is working.
Here is basically how I am set up now...
The main table, Pipelines - with the primary key set on the pipeline number, contains general information about the pipeline.
A table for each of the following types of patrols which includes which month the patrol will take place, a description of the section, etc. These tables can duplicate the pipeline number since each section to be patrolled may be somewhat different.
Annual
Bi-Annual
Tri-Annual
Class
Highway
Railroad
Stream
Valve
I can run a query with the criteria of a certain person for a certain month for each of the tables above separately (ex: Annual table for John Doe, patrols during the month of March... I am however, unable to run a query for all of them at once (ex: all tables, for John Doe, patrols during the month of March) I get zero records... is it because these table are not related to one another? Each one is related back to the main pipeline table.
I have also attemped to run each query separately and then combine each of them into a report without success of what I want to see.
Confused yet? Any help would be greatly appreciated... I am willing to redesign if necessary... I have attempted this database from several angles and so far nothing is working.