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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

while closing the form records should delete in the form, how to writ the code in which method?

(0) ShareShare
ReportReport
Posted on by

while closing the form records should delete in the form, how to writ the code in which method?

*This post is locked for comments

I have the same question (0)
  • Piyush Adhikari Profile Picture
    2,546 on at

    Close method

  • Community Member Profile Picture
    on at

    Hi

    could you explain the code?

  • Piyush Adhikari Profile Picture
    2,546 on at

    Form Method Sequences:

    very useful

    kollidynamics.blogspot.in/.../sequence-of-methods-in-form-level-in-ax.html

  • Piyush Adhikari Profile Picture
    2,546 on at

    simply call delete / do delete/or    delete_from

  • Bilal Issa Profile Picture
    4,370 on at

    Hi,

    please consider using temp data source , and that will delete records once the form is closed without writing code.

    Regards,

    Bilal

  • Piyush Adhikari Profile Picture
    2,546 on at

    Yes.

    temp data source is a good choice if you want to delete all the records

    but not in case if wants to delete selected records.

  • Anton Venter Profile Picture
    20,656 Super User 2026 Season 1 on at

    If you use a temporary table, the data will be gone if you close the form.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans