K
Kegan Longridge
I have a database with 3 levels.
District (which must have many areas)
Areas (which must have patrollers and contractors)
Patrollers and Contractors (which might do more than one job for each area)
This is my third post and I haven't recieved any information which I could
understand. I am a begginner and need a walkthrough sort of explanation.
I currently have set up:
District table: (following are fields for this table)
-districtID-primary key
-districttype
Area/Patroller Table:
-areapatrol-primary key
-districtID
Area/Contractor Table:
-areacontractor-primary key
-districtID
(at this point you can tell that I have districtID-primary key related to
the distID in Area/Patroller and Area/Contractor tables)
Patroller Table:
-patrollerID-primary key
-areapatroller
-patrollername
-patrollertype
Contractor Table:
-contractorID-primary key
-areacontractor
-contractorname
-contractortype (areapatroller and areacontractor fields related back
to primary keys from areapatroller and area contractor tables)
.........................................................................................................................
So here is the problem. I all the pat(patroller) and con(contractor)
records to relate to an area and then have the area relate back to a
district.
When I make a single form with many subcategories in order of district to
areapat/con and then pat/con it does not want to work and says errors such as
cannot enter duplicate value and such.
If someone can help me in a beginner fashion and use very basic terminology,
explaining it during the way, I would be very greatful.
Thank you for any help you can give, "especially you volunteers"
District (which must have many areas)
Areas (which must have patrollers and contractors)
Patrollers and Contractors (which might do more than one job for each area)
This is my third post and I haven't recieved any information which I could
understand. I am a begginner and need a walkthrough sort of explanation.
I currently have set up:
District table: (following are fields for this table)
-districtID-primary key
-districttype
Area/Patroller Table:
-areapatrol-primary key
-districtID
Area/Contractor Table:
-areacontractor-primary key
-districtID
(at this point you can tell that I have districtID-primary key related to
the distID in Area/Patroller and Area/Contractor tables)
Patroller Table:
-patrollerID-primary key
-areapatroller
-patrollername
-patrollertype
Contractor Table:
-contractorID-primary key
-areacontractor
-contractorname
-contractortype (areapatroller and areacontractor fields related back
to primary keys from areapatroller and area contractor tables)
.........................................................................................................................
So here is the problem. I all the pat(patroller) and con(contractor)
records to relate to an area and then have the area relate back to a
district.
When I make a single form with many subcategories in order of district to
areapat/con and then pat/con it does not want to work and says errors such as
cannot enter duplicate value and such.
If someone can help me in a beginner fashion and use very basic terminology,
explaining it during the way, I would be very greatful.
Thank you for any help you can give, "especially you volunteers"