How to Create a Microsoft Access Form for Entering Student Scores
Question details
The user needs a method to efficiently enter scores for multiple students and courses in Microsoft Access, as their current multi-table query is not updateable.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Building an Access database interface to record and manage student grades across various courses without encountering query update errors.
- Observed behavior
- A multiple-table query displaying students and courses is not updateable, preventing the user from entering new student scores effectively.
Ensure your Microsoft Access database tables are properly normalized and make a backup copy of your database before modifying table structures or primary keys.
Set Up Proper Keys and Use a Main Form with a Subform
Fix the non-updateable query issue by establishing correct table relationships and separating the data entry interface into a main form for students and a subform for scores.
A multiple-table query is generally not the best design for data entry in Access because it can easily become non-updateable. Instead, you should use separate primary keys for each table to ensure a one-to-many relationship, allowing one student to have multiple score records.
Open your Access Database, right-click the Roster (Students) and Scores tables, and select 'Design View'. Ensure the Roster table has its own unique primary key (e.g., RosterID).
In the Scores table, do not use the student's ID as the primary key. Create a new primary key (e.g., ScoreID) with an AutoNumber data type. Add RosterID and CourseID as foreign keys.
Go to the 'Create' tab and use the Form Wizard to create a Main Form bound to the Roster table to display individual student details.
Create a second form bound to the Scores table to act as the subform. Use a Combo Box control for the CourseID to allow easy course selection, and a Text Box control for entering the actual score.
Open the Main Form in Design View, drag and drop the Subform onto it. Select the subform control, open the Property Sheet, and ensure 'Link Master Fields' and 'Link Child Fields' are both set to RosterID.

Manage Student Data Easily with WPS Spreadsheet
If setting up complex Microsoft Access databases and relational forms is too time-consuming, you can track and calculate student scores effortlessly using WPS Office. It provides a lightweight, free, and highly compatible alternative to Microsoft Office.

Frequently Asked Questions
Why is my Microsoft Access query showing 'Not Updateable'?
A query becomes non-updateable when Access cannot definitively determine which underlying table record to update. This frequently happens in multi-table queries without properly defined primary keys, missing relationships, or when using aggregate functions.
Can I use the Student ID as the primary key in the scores table?
No. If you use the Student ID as the primary key in the scores table, each student will only be allowed to have a single score record. You should use a separate AutoNumber field (like ScoreID) as the primary key and use the Student ID as a foreign key instead.
How do I link a main form and a subform in Microsoft Access?
You can link them by opening the main form in Design View, selecting the subform control, and opening the Property Sheet. In the Data tab, set the 'Link Master Fields' and 'Link Child Fields' properties to the matching ID field (such as RosterID or StudentID).




