Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2733 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I am currently building a database to handle the inspection sheets used by our Quality lab. Here is the relationship layout:

Relationships.PNG.e63242cee16d0d964eef4d96d5f8ba3f.PNG

For each revision on the Revisions table, I have a differing number of Dimensions that need to be measured (some parts/revs will have 5 dimensions, while others will have 15). Each dimension has a specified type of instrument used in measurement, and a max/min value. The instrument used is a drop down menu that references a list of instruments/gages that we use.

Here is how I have my inspection sheet currently laid out:
Inspection.thumb.PNG.f3f383fb2cc2786a2883e724a7ab2c18.PNG

The portal on the left points towards my dimensions table. It shows the data corresponded to the specified Part Number and Revision level. The data contained in this portal is uneditable from this form. The portal on the right points towards my RecordedDimensions table. It will store data that will correspond back to the Lot# associated with that inspection sheet.

I also have a table that pairs all the different types of instruments we use, with their corresponding gage ID's:
Gages.thumb.PNG.4f312a80118016c5db17ab47cfcf5a5e.PNG

Now I would like my user to be able to click on the dropdown box under Instrument#, and that drop down box will only show the Gage ID's for the specified gage. So, if on the dimensions table, a dimension calls out for Digital Micrometers to be used, then when my user goes to select the instrument ID (which is saved in the RecordedDimensions table) it will would allow them to choose 151, 152, 153, 306, 324, 330, and 331.
Please let me know if I have not provided enough information/pictures, I will gladly provide more.
Thank you in advance for any assistance you can offer me!

Edited by NewBoard
Posted
3 minutes ago, comment said:

I got lost in your description. It seems you're looking for a conditional value list.

A conditional value list is exactly what I'm trying to make. It's a little easier said than done though, since I'm storing values in one table, but referencing them in another. Currently when entering values, my stored values table doesn't know which report from the Dimensions table it's referencing. If I could figure out how to the dimensions and stores values 1-to-1, I could do a conditional value list. I've managed to get the drop down to only show Gage ID's related to the gages used in the inspection. However, it shows ID's from all of the gages used on that inspection. Whereas I want it to only show the ID's for the gage used on that specific dimension.

Let me know what I can clarify for you.

Posted
11 minutes ago, NewBoard said:

Let me know what I can clarify for you.

Let's start with this: in which table is the field you need to populate using this value list.  Also, am I correct in assuming that your last picture shows records from the Gages table, with the left column being Gages::Gage Type, and the right column being Gages::Gage ID?

Posted (edited)
9 minutes ago, comment said:

Let's start with this: in which table is the field you need to populate using this value list.  Also, am I correct in assuming that your last picture shows records from the Gages table, with the left column being Gages::Gage Type, and the right column being Gages::Gage ID?

Your assumption is correct.
So, I currently have one form for building the parts. This is where the manager will enter in what dimensions are being inspected, what tools, and the tolerances through a portal linked to the Dimensions table
Revisions.thumb.PNG.9239d6ad418423109e3dd70286031a1c.PNG

Then, as the inspections are actually performed, they will pull up the following screen:
Inspection.thumb.PNG.cd4f5196380863931f0f9e8d82b44b5c.PNG

The portal on the left contains all of the information that the manager entered in earlier. I want the user to be able to enter information into the portal on the right, which points to the table RecordedDimensions. Which I have working correctly besides the instrument dropdown.

Edited by NewBoard
Posted
1 hour ago, comment said:

in which table is the field you need to populate using this value list.

It's a simple question. The answer should be one word: the name of the table in which the field is defined.

Posted
5 minutes ago, comment said:

It's a simple question. The answer should be one word: the name of the table in which the field is defined.

 

I answered your question. RecordedDimensions

Posted

You need to link RecordedDimensions directly to either Dimensions or Gages. If the Instrument field in RecordedDimensions is populated to be the same as the Instrument field in the corresponding  Dimension, you could define the relationship as:

RecordedDimensions::Instrument = Gages 2::Gage Type

where Gages 2 is a new occurrence of the Gages table. Then your value list would be defined to use values from Gages 2::Gage ID, include only related values starting from RecordedDimensions. 

--
Note: this is a technical answer. I don't really understand what you're doing here, or why. And I have a feeling there is a better way to do it.

 

This topic is 2733 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.