I'm trying to create a database that has one field that automatically gets filled with a value based on a calculation made from other values input by the user. If the calculation is above a specific value I want the database to say "Fail", otherwise "Pass". My goal is to create a form that a user can easily input numbers into, then have a "pass" or "fail" value displayed on the form as well as saved into the database table itself. I was wondering what the best way to go about this was. I accomplished it by using a query based form but I don't know how to get the query to add new values to the table.