473,394 Members | 1,715 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,394 software developers and data experts.

Cascaded many-to-many form question

Hi All -
I'm designing an Access database to keep track of equipment we're delivering. Here's the specifics:

Tables:
1. CM_ITEM [Configuration Item Table]:
- ID (key)
- OPPN_ID [part number id]
- OP_SN [our serial number]
- Manuf_SN [manufacturer's serial number]

2. PARTNO [Available part numbers]:
- ID (key)
- Nomenclature [part number id]
- OP_PN [our part number]
- Manuf_PN [manufacturer's part number]

3. CAL_PARM_LIST[List of available calibration parms]
- ID (key)
- CalParamName [available cal params]

4. PARTNO_CALPARM_JCT [Junction table for Cal and P/N]
- ID (key)
- OPPN_ID [index into PARTNO table]
- CalParm_ID [index into CAL_PARM_LIST table]

Here's the questions:

A. Each Item under configuration management (CM_ITEM) can be any of the available part numbers in PARTNO. When a particular part is manufactured, we assign it a serial number and want to add it to the CM_ITEM table using only the available part numbers from PARTNO. I've figured out how to do this. However, some of the part numbers require unique calibration values to be saved in the CM_ITEM table. I don't want to add CalParm1, CalParm2, ... , CalParmN to the CM_ITEM table. I do want to have a list of available Calibration Parameters (CAL_PARM_LIST), and for the part numbers in CM_ITEMS that require calibration, store the Calibration Data per parameter in CAL_DATA [CalParamValue]. Unfortunately, I'm completely lost on how to do this.

If anyone out there wants to take a whack at this, I would be most grateful.

Thx,
Attached Images
File Type: jpg Relationships.jpg (17.2 KB, 307 views)
Jul 5 '10 #1
1 1694
nico5038
3,080 Expert 2GB
I would probably use two tables:

1. tblPart
- ID_Part
- OPPN_ID [part number id]
- OP_PN [our part number]
- OP_SN [our serial number]
- Nomenclature [part number id]
- Manuf_PN [manufacturer's part number]
- Manuf_SN [manufacturer's serial number]

2. tblCalParm
- ID_CalParm
- ID_Part
- CalParmName
- CalParmValue

The partnumbers available will be the rows in tblPart with an empty [our serial number].
The number of Parms can be made flexible by storing the name and value and the ID_Part will be the foreignkey to get them "grouped".

Getting the idea ?

Nic;o)
Jul 5 '10 #2

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

Similar topics

2
by: Mark | last post by:
Hello, how to do a select ... from select in MSSQL similar to Oracle? eg. select hour from ( select substring( daily, 9,2 ) as hour from daytab where userid = 12 )
11
by: Stefan Finzel | last post by:
Hi trying to remove one or all elements of select options fails for Pocket Internet Explorer. Is there a way to do this? if is_PIE { // this does not work on Pocket IE while (opt.length) {...
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
6
by: sunny | last post by:
Hi All why does forward declaration does not work in following code. struct A; struct B { struct A a; // struct A *a // WORKS SINCE ITS POINTER
5
by: Adam Sandler | last post by:
Hello, I have a treeview with a node where the children are read/populated directly from a database. Some of the text which comes from this database isn't always user friendly. I'd like to...
4
by: ApexData | last post by:
I have a 15 LookUp Tables tied to 15 ComboBoxes. Some of the Tables contain 3 to 10 Recs, and a couple contain up to 50 Recs. 1- Is it a CommonPractice to link the field that gets the ComboBox...
6
by: DavidMS | last post by:
I have a production access application with no development environment. We need to create a develoment access environment with an empty db. We are not allowed to see the production data. How do I...
1
by: porsch55 | last post by:
m_oProc = new Process(); ProcessStartInfo oInfo; oInfo = new ProcessStartInfo("\\\\" + sSourceServer + "\\" + Environment.SystemDirectory.Replace("C:", "C$") + "\\psexec.exe", " \...
6
by: dbuchanan | last post by:
There are three parts to this 1.) How do I cascade menus? 2.) And, how do I cascade menus with a multi-select CheckBoxList?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.