Hello all,
I've run into a bit of a problem on an access database that I've created for our quality control team.
Here are the specifics: (Access 2010.)
The database is set up to record the QC person's name, the part number, a bunch of information about the line (line speed, temperature, etc) and finally if the part was good (passes) or if it failed & why it failed.
It then calculates the first pass yield by dividing the number of "GoodParts" (count STRGood) by the "Total Number of Parts" (count of strParts).
The FPY is always visible on the Form and updates after every entry.
Additional information unimportant to this problem:
If a part failed, they have several fail modes that they can choose from, so that we can then track the failure modes, correlate them with the line information we capture and figure out if those variables contribute to recurring failures.
Here's the problem:
Instead of calculating the FPY by just the total count strgood / total count strparts, we'd like to be able to calculate (and show on our form as is updates) the FPY by the CURRENT part number (strpart) being inspected.
I have created reports from the collected data that give the FPY by date and part type, but I'd like to be able to show:
If the current part number running is X. Calculate all of the X's for the current date. Calculate all of the X's that are "Good." Divide the Good X's that were run today, by the total number of X's that were run today.
Then when they change the part number that there are inspecting to Y, it brings up a new FPY for total number of Good Y's run today / total number of Y's today.
1) Does what I'm asking make any sense?
2) Is there someone out there that has some idea of how to do this?
3) How?:banghead:
Thanks in advance for any insight.
-Tobes
I've run into a bit of a problem on an access database that I've created for our quality control team.
Here are the specifics: (Access 2010.)
The database is set up to record the QC person's name, the part number, a bunch of information about the line (line speed, temperature, etc) and finally if the part was good (passes) or if it failed & why it failed.
It then calculates the first pass yield by dividing the number of "GoodParts" (count STRGood) by the "Total Number of Parts" (count of strParts).
The FPY is always visible on the Form and updates after every entry.
Additional information unimportant to this problem:
If a part failed, they have several fail modes that they can choose from, so that we can then track the failure modes, correlate them with the line information we capture and figure out if those variables contribute to recurring failures.
Here's the problem:
Instead of calculating the FPY by just the total count strgood / total count strparts, we'd like to be able to calculate (and show on our form as is updates) the FPY by the CURRENT part number (strpart) being inspected.
I have created reports from the collected data that give the FPY by date and part type, but I'd like to be able to show:
If the current part number running is X. Calculate all of the X's for the current date. Calculate all of the X's that are "Good." Divide the Good X's that were run today, by the total number of X's that were run today.
Then when they change the part number that there are inspecting to Y, it brings up a new FPY for total number of Good Y's run today / total number of Y's today.
1) Does what I'm asking make any sense?
2) Is there someone out there that has some idea of how to do this?
3) How?:banghead:
Thanks in advance for any insight.
-Tobes