General Ledger
Active Member
- Joined
- Dec 31, 2007
- Messages
- 460
Dear All,
Using Access 2007, I am trying to bring together records from three tables: Open Purchase Orders, Inventory, and Open Sales Orders.
I want to determine:
I want to show the current status for each combination of inventory item number and project number, regardless of which tables the combination exits. It is possible to have a combination present on only one of the three tables. For example, we could have one or more sales order for an item/project but no open purchase order and no inventory.
The fields I want as output are:
What kind of joins do I use to relate the tables to one another?
Do I join on both the item number and project number fields?
What kind of query do I create? Will a simple select query do it or do I need to something more elaborate (Union, Crosstab, etc.)?
I am at best a novice in Access so please be detailed in any responses.
Thank you so much for your support.
GL
Using Access 2007, I am trying to bring together records from three tables: Open Purchase Orders, Inventory, and Open Sales Orders.
I want to determine:
- Do we have sufficient quantities on order and in inventory to fill each sales order, indicating whether we need to buy more.
- Do we have more quantities on order and in inventory than we have sales orders for, indicating we are over stocked.
I want to show the current status for each combination of inventory item number and project number, regardless of which tables the combination exits. It is possible to have a combination present on only one of the three tables. For example, we could have one or more sales order for an item/project but no open purchase order and no inventory.
The fields I want as output are:
- Item Number
- Project Number
- Purchase Order Number
- Purchase Order Quantity
- Inventory Purchase Order Number
- Inventort Quantity
- Sales Order Number
- Sales Order Quantity
What kind of joins do I use to relate the tables to one another?
Do I join on both the item number and project number fields?
What kind of query do I create? Will a simple select query do it or do I need to something more elaborate (Union, Crosstab, etc.)?
I am at best a novice in Access so please be detailed in any responses.
Thank you so much for your support.
GL