I am developing a database to track student test scores through elementary grades. I have a student info table, and then separate tables for each type of test score that I need to track. The student number is the primary key and I have imported the student info from our district’s student database. I have made up a form with the student number, student name, and fields for all the test info. What I would like to do is go to the form when I have new scores to input, put in the student number, and the new scores. I would have a control/button on the form to click to trigger the update. The problem I am having is how do I get the database to UPDATE an existing record not create a new record. I am getting error messages saying the primary key is not a valid number because it duplicates an existing number.
Also, how do I set it up so I can put in a student number on the form and have it display the various test scores that have been entered for the student. Thanks for any help you can give.