Advertisement

04.24.2008 at 01:29PM PDT, ID: 23351839
[x]
Attachment Details

MS Access 2007 - calculated field on form works but does not enter value back into table

Asked by cgunix in Microsoft Access Database

I made a simple Access table.
I then made a form based on the table, to fill it in.
I put an expression in the form to calculate one field, based on the previous field (I enter a date, and it calculats the Fiscal Year the date falls into)

The form works. If I call up an existing record, it correctly shows the FY on the form. If I add a new record, it correctly shows the FY on the form.

However, it never puts the FY value back into the table! It will correctly enter all the other fields into the table, but leaves the FY field blank.

Of course, to put in the calculation (expression) I changed the control source on the form field from the name of the field in the table, to the expression.

How do I get it to enter the calculated value into the table?Start Free Trial
[+][-]04.24.2008 at 01:32PM PDT, ID: 21434867

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Sign Up Now!
Solution Provided By: capricorn1
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.01.2008 at 03:37AM PDT, ID: 21477528

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628