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 :
Microsoft Dynamics AX (Archived)

How to refresh values in form grid without pressing f5

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am new to AX and need your help!!!

I have a form with grid on it.There is a Generate button on form which opens a dialog form... after clicking on Generate and filling info, the values filled appears on the Grid.But every time I fill in the info in dialog form I have to press F5 to refresh the form with grid.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You need to get a reference to your caller form's data source, and refresh it after your dialog form has generated the new data.

    Please check the first code example in this article: [View:https://docs.microsoft.com/en-us/dynamicsax-2012/developer/how-to-refresh-the-calling-form]

  • Community Member Profile Picture
    on at

    Hi Nikolaos,

    Thanks for your response!!!

    I have tried it through this way but it is not working.

    I created a method on the table and mentioned datasource.research() and called that method on the dialog form"s OK button and it's working now.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans