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

Display values from one table in another

Hi,

I'm new to Access and have what would seem to be a simple question:

I'm looking to organize dates, tests, serial numbers and results.

On some given date, a series of 16 tests are run on anywhere from one
to 40+ serial numbers, so each serial number gets 16 tests.

The results for each test are either "pass", "fail", or "out of range",
so each serial number has one of these results associated with each
test.

I started by assigning the results an ID such as "pass" =1, "fail" = 2,
and "out of range" = 3 and put them in a "Results" table. I then
created a "Tests" table with a date field, serial number field, and 16
fields labeled Test1 - Test16. I now have a "Tests" table full of 1s,
2s, and 3s and am having problems tying each of them to the "Results"
table and displaying the results.

Thanks for any help,
-Johnny-

Jul 11 '06 #1
1 1944

ja*******@yahoo.com wrote:
Hi,

I'm new to Access and have what would seem to be a simple question:

I'm looking to organize dates, tests, serial numbers and results.

On some given date, a series of 16 tests are run on anywhere from one
to 40+ serial numbers, so each serial number gets 16 tests.

The results for each test are either "pass", "fail", or "out of range",
so each serial number has one of these results associated with each
test.

I started by assigning the results an ID such as "pass" =1, "fail" = 2,
and "out of range" = 3 and put them in a "Results" table. I then
created a "Tests" table with a date field, serial number field, and 16
fields labeled Test1 - Test16. I now have a "Tests" table full of 1s,
2s, and 3s and am having problems tying each of them to the "Results"
table and displaying the results.

Thanks for any help,
-Johnny-
Hello Johnny -- I am new to Access as well but I would like to put my
two cents in to test my knowledge. It sounds like you need to make
some adjustments to your table design. It sounds like you are creating
a lot of Null values which I try to avoid. Perhaps in your tests table
you can reduce the 16 Test fields down to one Test field which
identifies the test number in the same manner you have assigned the
results an ID. Then you could make a separate TestInfo table, or
something to that effect, which lists each test number as a primary key
with a description field or any other fields that might be pertinent to
that particular test alone.

I might be misunderstanding your application though. What are the
serial numbers associated with -- students or test machines? Does each
serial number have all 16 tests run on it each time tests are run?

If the full series of tests are run on one machine in the same series
then I would say your table layout is correct. Displaying them on a
form may simply be a matter of assigning the Results to an option group
relating to your ID's.

Again, I am new to this just like you so I might be way off base, but I
hope this helps.

Jul 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Eric J. Holtman | last post by:
I feel like the answer to this should be blinding obvious. I also feel like it's probably an exercise in an undergraduate database design course. I'm off to google for an answer, but I figure I'd...
0
by: Elvis V. | last post by:
Good morning, I have a table that contains three fields that I would like to relate one to another, in other words, for example, when I go to the form and I click on the drop down box for...
18
by: Alpha | last post by:
Hi, I'm working on a Windows applicaton with VS 2003 on windows 2000. I have a listbox that I have binded to a dataset table, "source" which has 3 columns. I would like to display 2 of those...
2
by: Hanumanth Reddy | last post by:
Any one could help how to bind two table field values into combobox display member property. I mean i have two fields in a table. One is states description and another is states codes.I want to...
5
by: Sue | last post by:
Help! I have an asp table with an embedded table. The asp tablerow that contains this table has a static ID assigned of "FilterRow2" (see snippets of code below). When I click on the button to set...
15
by: Markus Ernst | last post by:
Hi When toggling an element on and off by setting its display property via DOM access, display:none is valid for all kinds of elements, but I can't find anything about a generic value for...
2
by: emc_cos | last post by:
I have a very nice parent child relationship happening between a main form and 8 subforms. The main form is the data entry point for a table that holds textual data like names, notes and the...
4
by: seth_hickel | last post by:
With other solutions I would get a recordset, read each record and display data by formating my html as I wanted to display values of each record. I am trying to display data in a three column...
1
by: amritranjan | last post by:
How to retrive image file from MS access database and display this in another JSPpage -------------------------------------------------------------------------------- This is my Jsp code for...
1
by: lrheeza | last post by:
Hello, More questions from this newbie: I have an Application table which has Application ID and Application Name. I have another table Variable which has Variable ID, Application ID and other...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.