Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Datasource ExecuteQuery() Progress Bar

Posted on by 1,445

Hi all,

I'd like to display a progress bar while my form datasource is doing its query. Let me explain this:

1) myDataSource_ds.executeQuery() will take a long time to execute/run due to huge data.

2) I need a way of showing on screen the status of the query because executeQuery() makes AX freeze or hang.

Thanks!

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,030 Most Valuable Professional on at
    RE: Datasource ExecuteQuery() Progress Bar

    You can add an animation, but you won't get the information whether the process is in the middle, near to the end or where.

  • syed baber Profile Picture
    syed baber 11,627 on at
    RE: Datasource ExecuteQuery() Progress Bar

    Hi DJRM,

    If it is a new form you created, then it would be better to analyse the joins in the datasources and some other stuff to figure out why this is happening. I have never seen any form taking this much time that you have to display progress bar to show the status.

    Thanks,

    Baber.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans