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)

Exact scenario to use reread, research and refresh

(0) ShareShare
ReportReport
Posted on by 56

Dear All,

I read in blogs the use of reread, research and refresh in form DataSource. But always i got confused when practically i need to use this. I did but i though whether i am correct or not.

Can you please  let me the exact scenario  to use this. Means when to use this?

Please give me more shed on this.

Thanks!

Arpan

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Based on your business need we need to make a call to this form datasource methods.

    research(): research() method will rerun the existing form query against the database, fetches the data and also honours the filters that are set on the grid. Like if we want to have some operation to be performed on the selected list, right after the operation the selected list is maintained without removing it.

    refresh() : Refresh will read the data in the data source cache and no interaction with the data base happens to fetch the new/updated record values

    reread(): reread interacts with the data base and runs the query against the data base in order to fetch the new/updated record values. But will not show the updated values in the form until calling the refresh method. So general usage is

    formDataSource.reread()

    formDataSource.refresh()

    Hope this information helps you.

  • @rp@n Profile Picture
    56 on at

    Thanks Chaitanya and Sukrut

  • @rp@n Profile Picture
    56 on at

    Hi Chaiatanya,

    Actually as business need i added one button "Update" in Carate customization form in header. The function of this button is when user clicked button "Update" it will check all corresponding records in Line Table based on Carate Ids and update checkbox "Bypass Carate" to YES.

    It's worked fine but user will see check box "Carate = Yes when press F5.

    I want this without press F5.  

    shall i go for only table_ds.refresh() ?

    Please give me more shed on this.

    Arpan

  • Suggested answer
    Rohin Profile Picture
    4,624 on at

    use FDS.research() method here.

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    this blog  for Deepak , it is very useful

    community.dynamics.com/.../differences-among-reread-refresh-research

  • @rp@n Profile Picture
    56 on at

    Thanks Visvash

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock 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