K
Kjell Harnesk
I have the following code on a button on a main form. I use it to update a
control on a subform based on the values of two other controls both on a
subform of its own.
Forms!Mainform!Subform1![TimV] = Forms!Mainform!Subform2![TimV] *
Forms!Mainform!Subform3![TimV]
The code is on one line only.
The problem is that it fails with the error message "The record has been
changed" Maybe not those exact words because it is translated from the
swedish version of Access. When i cklick the button a second time (or more)
the code runs as expected. What is wrong?
Access 2003 SP2, Win XP Pro SP2.
control on a subform based on the values of two other controls both on a
subform of its own.
Forms!Mainform!Subform1![TimV] = Forms!Mainform!Subform2![TimV] *
Forms!Mainform!Subform3![TimV]
The code is on one line only.
The problem is that it fails with the error message "The record has been
changed" Maybe not those exact words because it is translated from the
swedish version of Access. When i cklick the button a second time (or more)
the code runs as expected. What is wrong?
Access 2003 SP2, Win XP Pro SP2.