Hello! I am building a database for an environmental remediation company. It will include a list of all the equipment and materials they own, all the equipment and materials they rent/buy, and a list of vendors. This is an ongoing project and this isn't my sole responsibility, so it will be months before this is where I want it to be. As of right now, I am having difficulty on deciding how to split my information. I haven't added any of the vendor list yet, there are over 1000 vendors that need to be added. I am working on the own/rent equipment lists. As of right now, I have these two tables with the following fields:
Table: OwnedEquipment
ID
Make
ModelYear
Description
Type
LocationCurrent
LocationNeeded
Quantity
DateNeeded
Notes
Table: RentedEquipment
ID
Make
ModelYear
Description
Type (This distinguishes what each item is, such as heavy equipment, materials, power tools, etc. both tables have the same types)
LocationCurrent
LocationNeeded
Quantity
DateNeeded
Notes
I thought that separating the equipment by owned/rented was the best, but now I am having issues creating the appropriate queries/reports. For example, if I would like to print a report of all the heavy equipment between both tables, the only way I can currently do it is to have two separate columns in the same query, but it produces a lot of duplicate values.
I am starting to think it would be best to have a different table for each type, and then include a yes/no checkbox to distinguish between rented and owned. For example, this would be the setup I am thinking about. All of the tables would have the same fields.
Table: Heavy Equipment
Table: Materials
Table: Site Support
Table: Hand Tools
Table: Power Tools
Fields:
Make
ModelYear
Description
Quantity
Notes
Then I am thinking about having a seperate query for each job that would come up to cover the location/date that items are needed. for example:
Query: NewYorkCity
Description
Type(this would be the same as the table heading, such as heavy equipment, hand tools, power tools, etc)
Quantity
DateNeeded
Notes
I don't know exactly how to do what I am describing, but my end goal(again, months down the road) is to be able to create standard reports for each job that may come up, and I will add individual items from each table to the job report, based on what we need. For example, we may have a job in New York City, and we need 2 excavators, clean fill, a chainsaw, and the job file. The tables that information would come from would be the heavy equipment, materials, power tools, and site support tables, respectively. If anyone could offer any assistance on table setup to organize the data and relationships, I would really appreciate it!
Thanks in advance.
Table: OwnedEquipment
ID
Make
ModelYear
Description
Type
LocationCurrent
LocationNeeded
Quantity
DateNeeded
Notes
Table: RentedEquipment
ID
Make
ModelYear
Description
Type (This distinguishes what each item is, such as heavy equipment, materials, power tools, etc. both tables have the same types)
LocationCurrent
LocationNeeded
Quantity
DateNeeded
Notes
I thought that separating the equipment by owned/rented was the best, but now I am having issues creating the appropriate queries/reports. For example, if I would like to print a report of all the heavy equipment between both tables, the only way I can currently do it is to have two separate columns in the same query, but it produces a lot of duplicate values.
I am starting to think it would be best to have a different table for each type, and then include a yes/no checkbox to distinguish between rented and owned. For example, this would be the setup I am thinking about. All of the tables would have the same fields.
Table: Heavy Equipment
Table: Materials
Table: Site Support
Table: Hand Tools
Table: Power Tools
Fields:
Make
ModelYear
Description
Quantity
Notes
Then I am thinking about having a seperate query for each job that would come up to cover the location/date that items are needed. for example:
Query: NewYorkCity
Description
Type(this would be the same as the table heading, such as heavy equipment, hand tools, power tools, etc)
Quantity
DateNeeded
Notes
I don't know exactly how to do what I am describing, but my end goal(again, months down the road) is to be able to create standard reports for each job that may come up, and I will add individual items from each table to the job report, based on what we need. For example, we may have a job in New York City, and we need 2 excavators, clean fill, a chainsaw, and the job file. The tables that information would come from would be the heavy equipment, materials, power tools, and site support tables, respectively. If anyone could offer any assistance on table setup to organize the data and relationships, I would really appreciate it!
Thanks in advance.