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

Load all records on Grid

(0) ShareShare
ReportReport
Posted on by 9,228 Super User 2026 Season 2
Hi all,
 
I have a standard form, and I added a button to it When I try to take action on the records, not all the data is getting processed (just the loaded records). How can I fix this issue?
and load all records.
 

 
  • Martin Dráb Profile Picture
    241,655 Most Valuable Professional on at
    It's difficult to fix your implementation if you don't give us any information about it.
     
    If your goal is processing all records returned by a form data source query, you can use the query to create and execute a new QueryRun object. Try it and let us know if it solved your problem.
  • Waed Ayyad Profile Picture
    9,228 Super User 2026 Season 2 on at
    Hi Martin,
     
    Iam trying to process all records returned by a form data source query and mark all of them on the Grid after the button is clicked.
     
     
  • Suggested answer
    vishalsahijwani Profile Picture
    431 on at
    Hi Waed , 
     
    You can try the below procedures and check if its working : - 
     
    1) If the record count is more try not to use display or edit methods as this might also be a reason for the records to load slowly. Try to bring the records with no display or edit methods in any column
     
    2) Check if your action which you are performing for he records is having datasource.reread() or datasource.research() methods if yes please remove it.
     
     
    Also if you can provide a detailed info as to which action you are performing and show the code we can help you ina more refined manner
  • Suggested answer
    GirishS Profile Picture
    27,845 Moderator on at
     Hi Waed,
     
    You can use DataSourceName_ds.markAllLoadedRecords(1) to mark all the record in the grid.
     
    Thanks,
    Girish S.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 266 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 164 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans