FoxProProgrammer
Programmer
My database contains several linked tables. In a nutshell, the database contains the test results for circuit boards. There are approximately 20 part numbers (circuit boards), and each part number has many serial numbers. The flow is as follows:
1. Test the circuit board. It can pass or fail. Enter the test results in the database. Each test result is one record in a table.
2. If it fails, repair the circuit board.
3. Do 1 and 2 until the circuit board passes. Sometimes we can't fix a circuit board, in which case the last record for that serial number will have a status of "fail".
I want to generate a report that contains the number of unique serial numbers tested, number of unique serial numbers that passed, and number of unique serial numbers that failed, all sorted by part number so I can determine the quantity of each part that passed and failed, and the total number of each part that we tested. I can't simply count the number of records to determine the number of parts tested because each serial number can be tested more than once until it passes or we decide that it is beyond economic repair.
Any guidance would be greatly appreciated.
Thank you,
dz
dzaccess@yahoo.com
1. Test the circuit board. It can pass or fail. Enter the test results in the database. Each test result is one record in a table.
2. If it fails, repair the circuit board.
3. Do 1 and 2 until the circuit board passes. Sometimes we can't fix a circuit board, in which case the last record for that serial number will have a status of "fail".
I want to generate a report that contains the number of unique serial numbers tested, number of unique serial numbers that passed, and number of unique serial numbers that failed, all sorted by part number so I can determine the quantity of each part that passed and failed, and the total number of each part that we tested. I can't simply count the number of records to determine the number of parts tested because each serial number can be tested more than once until it passes or we decide that it is beyond economic repair.
Any guidance would be greatly appreciated.
Thank you,
dz
dzaccess@yahoo.com