I am using Access 2002. I have been trying to find the proper source information to read on this topic. I am not finding it.
I want to use a query to edit my table Production Speeds. I want to the query to list all machine/product combinations in a production group and provide the ability to add production speed entries to match those groups.
I will try to accurately describe what I have done so far.
table Production Groups
tblGID
tblGName
table Machine Names
tblMID
tblMName
refG
I have a table that lists production groups, and I have a table that lists machines and has a reference to the production groups table.
I have used a Left Join to join the two tables. I am able to use the query to determine which groups do not have machines listed and add records to the machine names table.
I want to take this one step further, but I am not finding good information.
I have two other tables:
Product Names
tblPID
tblPNumber
tblPNames
refG
Production Speeds
tblSPDID
tblSPDStandard
refP
refM
I want to show all the production groups next to all the machines and products. I want to show them even if a machine or a product does not exist for that particular group. However, I also want to link this grouping to the production speeds table so that I can associate a speed with each combination of product and machine in each production group category.
Given my current understand (minimal), what I am trying to do seems like a logical extension of what I have already done.
I am getting the impression that the only way I can do what I want to do is by using a MAKE-Table query to contruct a table, then possibly join that table to the production speeds table. This might not work because it would still require two left joins between two tables. Can I edit a elements as I have above when my query has two left joins instead of one?
Is what I am trying possible with other SQL programs (limitation of Access), or is what I am trying fundamentally incorrect?
How would I achieve the same objective through other means if what I am trying is not possible?
I want to use a query to edit my table Production Speeds. I want to the query to list all machine/product combinations in a production group and provide the ability to add production speed entries to match those groups.
I will try to accurately describe what I have done so far.
table Production Groups
tblGID
tblGName
table Machine Names
tblMID
tblMName
refG
Code:
Machine Group Table
/ (Left Join)
/
Production Group -
Table
I have a table that lists production groups, and I have a table that lists machines and has a reference to the production groups table.
I have used a Left Join to join the two tables. I am able to use the query to determine which groups do not have machines listed and add records to the machine names table.
I want to take this one step further, but I am not finding good information.
I have two other tables:
Product Names
tblPID
tblPNumber
tblPNames
refG
Production Speeds
tblSPDID
tblSPDStandard
refP
refM
I want to show all the production groups next to all the machines and products. I want to show them even if a machine or a product does not exist for that particular group. However, I also want to link this grouping to the production speeds table so that I can associate a speed with each combination of product and machine in each production group category.
Given my current understand (minimal), what I am trying to do seems like a logical extension of what I have already done.
Code:
Machine Group Table
/ (Left Join) \ (Left Join)
/ Production Group - - Production Speed
Table \ / Table
\ (Left Join) / (Left Join)
Product Names Table
I am getting the impression that the only way I can do what I want to do is by using a MAKE-Table query to contruct a table, then possibly join that table to the production speeds table. This might not work because it would still require two left joins between two tables. Can I edit a elements as I have above when my query has two left joins instead of one?
Code:
Make a query from the 3 tables listed below and call it NewTable
Machine Group Table
/ (Left Join)
/
Production Group -
Table \
\ (Left Join)
Product Names Table
Use NewTable to link to the Production Speed Table
___________________
/ (Left Join) \
/ NewTable - - Production Speed
\ / Table
\ (Left Join) /
-------------------
Is what I am trying possible with other SQL programs (limitation of Access), or is what I am trying fundamentally incorrect?
How would I achieve the same objective through other means if what I am trying is not possible?