web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

how can i make update recordset using doupdate in x++

(1) ShareShare
ReportReport
Posted on by 77

i use update recordset in x++ to update table fields .. and i add a method in update method in the table

my requirement is i wanna use update recordset but i don't wanna use the custom method inside update method of the table .. how can i make update recordset use doupdate()

I have the same question (0)
  • Suggested answer
    Muthusamy Profile Picture
    4 on at

    Hi,

    Update_repordset is used to update multiple rows in a single trip to the server. This means that certain tasks may have improved performance by using the power of the SQL server.

    docs.microsoft.com/.../update-recordset

    The doUpdate method updates the current record with the contents of the buffer. Also, doUpdate method should be used when the update method on the table is to be bypassed.

    docs.microsoft.com/.../doupdate-table-method

    Thanks,

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi,

    Add tablebuffername.skipDataMethods(true) before update record set. This will restrict from calling your table update method.

    Thanks,,

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans