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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Null values leftover after deleting last record shown on grid

(2) ShareShare
ReportReport
Posted on by 34
Currently, when the last record of the grid is deleted, it leaves behind the null values of its respective fields. This does cause some fields to appear having something in them, even when there should be no records showing. I have tried setting the property "Insert if Empty" to No in the data source but it still shows up.
Categories:
I have the same question (0)
  • DHRPTony Profile Picture
    34 on at
    Null values leftover after deleting last record shown on grid
    Hi @Mohamed Amine Mahmoudi, 
     
    when the user clicks on the button, it looks at the selection and inserts data into another table based on. The data that is in the grid shown should than be deleted leaving a grid to show nothing. However as shown in the screenshot provided left behind is a record of everything null value. I have checked the sql afterwards as well, and no record exist that have all null values.

     
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,292 Super User 2025 Season 2 on at
    Null values leftover after deleting last record shown on grid
     
    Are you sure you don't have any code to force the insertion?

    If not, can you share more details with us ?
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • DHRPTony Profile Picture
    34 on at
    Null values leftover after deleting last record shown on grid
     
    both insert if empty and insert at end are set to no, and the result is still the same.
     
    Regards,
    Tony.
  • Komi Siabi Profile Picture
    13,019 Most Valuable Professional on at
    Null values leftover after deleting last record shown on grid
    Hi, 
     
    Insert if Empty works when you load the form, hence you should also take into consideration the Insert At End
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,292 Super User 2025 Season 2 on at
    Null values leftover after deleting last record shown on grid
     
    You need to set also the property "Insert At End" to No
     
     
    Best regards,
    Mohamed Amine MAHMOUDI

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans