Skip to main content

Notifications

Microsoft Dynamics GP forum
Unanswered

Getting RECORDCHANGED error when only person on system

Posted on by

Hello all.  I need some advice.

We have a simple Dexterity screen that lists some records.

When we click on a record and then an "Update" button, the record is opened in the Update window using a "change table xxx" command.

Whether I change any values or not on the update screen, when I click on the save button, it copies the record from the screen to the table and then issues a save table xxx command.

so...

copy from window update to table xxx;

save table xxx;

Even though I am the only person using the system (it is on a test platform at the moment), I keep getting a RECORDCHANGED error when I check the errors after the save command.

Oddly, if I run this screen on a different server, I do not get any error.

Does anyone have an idea what is going on?  I have also seen it throw up a DUPLICATE error as well.

Regards,

Mark

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,831 Moderator on at
    RE: Getting RECORDCHANGED error when only person on system

    Hi Mark

    How are you setting the key fields in the table buffer?

    Have you used the debugger to check the table buffer just before the save table command?

    Are you using err() or check error to see the errors?

    Have you confirmed that your table indexes are set up properly.

    Do you have a second window on the form which has the key fields on it as well? This can cause issues if the values on the key fields are not synchronized. It is one of the examples in the training, but the solution in the training materials to turn off Auto Copy is NOT the best solution.

    Regards

    David

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans