Hi,
I have created a form to import a text file in a navision table: this form contain a textbox for the file name, and a button to start import procedure.
I want add a progress bar to indicate the percentage of import progress; can anybody add a little sample code to show me the usage of progress bar ?
Thanks, Anakin \:D/
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Here is a sample code that displays progress bar denoting %completion of synchronizing customer records.
Hope this will help you.
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
1. The function COUNTAPPROX more recommend for this situation.
2. Nice joke with use a SLEEP function =D>
Yes COUNTAPPROX should be used.
I didn't follow the 2nd comment. Anything wrong with using SLEEP function.
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Just i think progress need as addition for some work and not the reverse.
By the way may be asked about Indicator control on the form?
Note that ProgressBar in the above sample code is a variable of type Dialog.
Regards,
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
I know but exists a Progress control which can be add on form - may be asked about it?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Hi
I think nice so
Min := 0;
Max := Table.COUNTAPPROX;
variable in SourceExpr just will be increase like i += 1;
BUT Min and Max properties is hidden :oops:
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
http://www.mibuso.com/forum/viewtopic.php?t=9364
http://www.BiloBeauty.com
http://www.autismspeaks.org