Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Datasource ExecuteQuery() Progress Bar

(0) ShareShare
ReportReport
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,445 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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans