Avatar of 2putt
2putt
Flag for United States of America asked on

Acess, Field in Form View not calculating on key enter

I have a field named [Cost 1] with the following property  =[JCOST1]/(1-[MUP1]) where I enter a value into [JCOST1] which is then divided by the value I enter into [MUPI1].  In my earlier version of Access when I entered a value in [JICOST1] the value in [MUP1] would instantly appear when I clicked "Enter".  In Access 2010 it doesn't; I have to page up two or three records and then back to the new record for the calculation to take effect.

Any suggestions?

oneputt
Microsoft Access

Avatar of undefined
Last Comment
2putt

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
MINDSUPERB

Kindly check your statement for you might want to appear the value automatically to [Cost 1] not [MUP1]?

If you are really referring to MUP1, then there might be a code or macro in the enter event of [JICOST1]  that trigger to display the value at [MUP1] which might not be supported by 2010.

You may check this out.

Sincerely,
Ed
2putt

ASKER
Being that I don't know anything about code, at first I copied the entire code into the space and kept getting an error.  Finally I just copied the middle line of the code and it worked perfectly.  Thank you very much for your assistance.
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

You are welcome.

Sorry ... I should have noted ".. which will look like this ..." ... ie, just enter the one line of code.

mx
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
2putt

ASKER
Thanks.  Your clarification confirmed that my guess was correct.  All is working fine now.  Thanks you again.

oneputt