I’m designing a database for a metallurgical lab. Everything works fine except I have nothing in place to check for typos in my inspection results field. With 15,000 records added in the past 2 months it’s very cumbersome fixing errors when a PPK report needs to be printed. My approach is to write a function that checks the inspection result with that of the spec-high/low table. I don’t think Dlookup() is what I am looking for. My PK is based off part number and inspection type. When I user enters a result the function would need to query the Spec Table and check if “result” is higher or lower than required spec high and low. If so, the database would prompt the user with a msgbox asking if value should be accepted or not.
Customer – Number
partID – Number – PK
inspection – Number – PK
specHigh – Number
specLow - Number
Customer – Number
partID – Number – PK
inspection – Number – PK
specHigh – Number
specLow - Number