If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Filtering a Query based on 3 tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-11, 08:55
DuncanMcCloud DuncanMcCloud is offline
Registered User
 
Join Date: Oct 2011
Posts: 5
Filtering a Query based on 3 tables

Hi All,

I am trying to create a query that will display the information that is common between 3 tables based on one field.

I have the following tables:

Material_Inventory:
SAP_No [text]
D_DT [text]
Description [text]
Units [text]
Unit_Cost [Currency]
Total_Quantity [Number]

BOM:
Name [Text]
Quantity [Number]

Wood_List:
SAP_No [Text]
Description [Text]

Material_Inventory is a database containing all items.
The user selects items from Material_Inventory and gives the items quantities e.g. Description: pole, Quantity: 10
Wood_List contains only some items of Material_Inventory. BOM might/might not have items in common with Wood_List.

I want the query to link the 3 tables and show only the items that are common between the 3 tables. Basically Wood_List filters BOM which filters Material_Inventory.

Or alternatively I want Wood_List to filter BOM and use Material_Inventory to display Total_Quantity of the item in Wood_List.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 10-20-11, 09:07
DuncanMcCloud DuncanMcCloud is offline
Registered User
 
Join Date: Oct 2011
Posts: 5
Red face

Sorry my bad... BOM didn't have anything from the Wood_List table.... been a long day
Reply With Quote
Reply

Tags
filter, filtering a query, filtering tables, query

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On