I need my quality control database to inform the user if they are entering out of specification data and prevent it from being entered unless flagged as out of spec. Each product in my database has different quality tests that must be performed with different specifications for each product.
Here are my relationships
http://i.imgur.com/ch8bnVa.png
I have a form attached to the QCEntries table with QCTestReslults subform.
I need code to do the following: in the afterupdate event of the TestResult's control, the code must check the entered value against the minvalue and maxvalue FOR THAT PRODUCT CODE AND TEST found the in the QCSpecs table. I need a message box to pop up informing the user that the value is out of spec.
I have an "idea" of what I need to do but I'm having trouble getting started and referring to the subform.
Any help is appreciated
Here are my relationships
http://i.imgur.com/ch8bnVa.png
I have a form attached to the QCEntries table with QCTestReslults subform.
I need code to do the following: in the afterupdate event of the TestResult's control, the code must check the entered value against the minvalue and maxvalue FOR THAT PRODUCT CODE AND TEST found the in the QCSpecs table. I need a message box to pop up informing the user that the value is out of spec.
I have an "idea" of what I need to do but I'm having trouble getting started and referring to the subform.
Any help is appreciated