Strange behavior in updating table values

al17248al17248 Member Posts: 8
Hi to all. Sometimes, when I change a value in a field through a form, visually it changes but if a codeunit uses this field, it will consider the old value. The changes take effect, only when i reopen database.
What's happening?

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi

    Check the properties of the codeunit - it might be flagged as SingleInstance which would launch and keep the values as you are describing.
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • SavatageSavatage Member Posts: 7,142
    al17248 wrote:
    Hi to all. Sometimes, when I change a value in a field through a form, visually it changes but if a codeunit uses this field, it will consider the old value. The changes take effect, only when i reopen database.
    What's happening?

    Are you entering data into the field & then clicking out of the field first?

    You can always look at the table directly just to make sure the change has been made.
Sign In or Register to comment.