473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Query Question Linking

Help Please….I have 2 tables (tblWorkOrder and tblItemMasterList). Under tblItemMasterList has a Child which is a BillOfMaterial linked by ItemMasterListID. BillofMaterial(child) can have more than 1 item. What I would like to do is be able to open a query of tblWorkOrder and pull out the table from BillOfMaterial by Part Number from tblItemMasterList. Let me know if this descriptive enough otherwise I’ll explain further. Thanks again!
Jul 8 '08 #1
2 1101
hjozinovic
167 100+
Help Please….I have 2 tables (tblWorkOrder and tblItemMasterList). Under tblItemMasterList has a Child which is a BillOfMaterial linked by ItemMasterListID. BillofMaterial(child) can have more than 1 item. What I would like to do is be able to open a query of tblWorkOrder and pull out the table from BillOfMaterial by Part Number from tblItemMasterList. Let me know if this descriptive enough otherwise I’ll explain further. Thanks again!

Hey John,

Seems you should have a query that contains all three tables.
In query design view you should link these three tables through primary and foreign keys (if they're not linked allready).
That will give you a query containing more instances of one record from tblWorkOrder table for one record in BillofMaterial table.

In case you need to have a WorkOrder as Master and BillofMaterials as Child then you should do the following:
a) create a query using tables tblWorkOrder and tblItemMasterList
this query should contain ItemMasterListID
b) connect the BillofMaterial table with the query you creates under a) using ItemMasterListID

regards,
h.
Jul 9 '08 #2
Thank You very much.....It works....:>)

Hey John,

Seems you should have a query that contains all three tables.
In query design view you should link these three tables through primary and foreign keys (if they're not linked allready).
That will give you a query containing more instances of one record from tblWorkOrder table for one record in BillofMaterial table.

In case you need to have a WorkOrder as Master and BillofMaterials as Child then you should do the following:
a) create a query using tables tblWorkOrder and tblItemMasterList
this query should contain ItemMasterListID
b) connect the BillofMaterial table with the query you creates under a) using ItemMasterListID

regards,
h.
Jul 9 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Joe Makowiec | last post by:
MySQL 4.14 on FC4 I have a database for a soccer team; simplified: Roster - serial (bigint) - name (varchar) goals - serial (bigint) - gameNumber (bigint) // for linking to a schedule
4
by: sheree | last post by:
I have 3 tables (amoung a few others) in a small access database. The tables are as follows: == AEReport -------- AEID (PK) RptCatelog GCRCID PatientID EvntDate
0
by: chemdawg | last post by:
Need help in linking access query to excel. The link I have now does not updated my main table or reports. What am i missing here?
1
by: hmiller | last post by:
I'm sorry to populate the server with yet another question about linking multiple tables and queries, howerver I have not been able to find the right criteria. My problem. I am trying to...
0
by: The Frog | last post by:
Hello Everyone, I have been asked to try and create a single SQL query to retrieve product information from a database. The way that data is arranged is that in some tables there are user...
11
by: funky | last post by:
hello, I've got a big problem ad i'm not able to resolve it. We have a server running oracle 10g version 10.1.0. We usually use access as front end and connect database tables for data extraction....
11
by: Stuart Owen | last post by:
Hi, I'm a relative beginner to Access, and have just found out how to construct a 'query by form' using the SQL, Select/From/Where approach. With the addition of a few wildcards, I've got a form with...
6
by: Darren | last post by:
I'm trying to build a query but struggling on how to achieve the linking. For examples, I have a table and a view similar to this.. Table: Accounts ACC_REF Char(3), DESCRIPTION VARCHAR(30),...
3
by: DDonnachie | last post by:
Hi, I want my query to go through all the employee hours and list the associated rates for each record. This means going through Eng_Costing and linking to Eng_PrjGrds (matching Project and Grade),...
4
by: franc sutherland | last post by:
Hello, I am using Access 2003. I am having trouble trapping the "can't append all the records in the append query" error message when appending data to a query from a table which is linked to...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.