Here's an example. Create a report with Item as the dataitem. Put this code in the prescribed triggers. Define the variables. Run the report. The TotalCount will adjust per the filters you enter on the report so the progression bar is always on time. Name DataType Window Dialog TotalCount Integer Counter Integer Item - OnPreDataItem() Window.OPEN('Processing: @1@@@@@@@@@@@@@@@'); TotalCount := COUNT;
Item - OnAfterGetRecord() Counter := Counter + 1; Window.UPDATE(1,ROUND(Counter / TotalCount * 10000, 1)); Item - OnPostDataItem() Window.CLOSE; jmlozares <[EMAIL PROTECTED]> wrote: Hi! Try using a dialog box, but instead of using (ex. '#1######') you use (ex. @1@@@@@@@@@@@@@). The "@" sign signifies that you want to use progress bar indicator. Regards! --- In Navision-Knowledge-Village@yahoogroups.com, A A <[EMAIL PROTECTED]> wrote: > > When running a long processing report, I usually open a window & update it with the entry no I am processing. Instead of using this, is there a function that can create a progress indicator type bar instead with a % done (for example, like the one you see when importing a file)? > > > --------------------------------- > Want to be your own boss? Learn how on Yahoo! Small Business. > > [Non-text portions of this message have been removed] > --------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. [Non-text portions of this message have been removed] Sharing the knowledge on Navision. Visit www.frappr.com/navision for navison friends Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Navision-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/