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 NAV (Archived)

Writing a Progress Bar

(0) ShareShare
ReportReport
Posted on by

I'm trying to write a Progress Bar to display when exporting data. I have it written Like this currently.  However It only goes to 1% then stops. If i Change the 100 to 1000 it goes to 10% then the process is done. 

REPEAT ... 
diagProgressWindow.OPEN('Exporting Position Refrences @1@@@@@@@@@@@@');

intAmtToprocess := recBOMPositioningTableLines.COUNT; // ??

intAmtProcessed +=1;

intPercentcomplete := ROUND(intAmtprocessed / intAmtToprocess* 100,1);

(Do other stuff )

diagProgressWindow.UPDATE(1,intPercentcomplete);

UNTIL... 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Solved, simply use 10000..

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 NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans