Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
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

Categories:
  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 Most Valuable Professional 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans