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.
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.
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