Informative Message during WHILE loop

Hi Everyone,

I have a WHILE loop that extracts records from an external database. This loop takes about 4 minutes to complete since lots of information is exchanged and updated between the 2 databases. My question is, how can I put a box with message on screen telling the user what's happening and that box shouldn't stop the WHILE loop, I mean like the box that Messagebox function generates but without the buttons on it.

Thanks in advance.

Cheers.
Faraj1969System AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HemanthaKumarCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sjef BosmanGroupware ConsultantCommented:
A simpler method, just as effective but not so pretty: put Print statements in your code, in the loop. Like this
    Print "Number of documents processed: " ndone

Sjef
0
HemanthaKumarCommented:
FYI Sjef
>My question is, how can I put a box with message on screen telling the user what's happening and that box shouldn't stop the WHILE loop
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Faraj1969System AdministratorAuthor Commented:
I'm already using PRINT statement. just wondering if I can make a messagebox in the middle of screen without stopping the loop and no buttons, the box should disappear once the loop is done.

Cheers
0
Sjef BosmanGroupware ConsultantCommented:
Thought so ;)

The progressbar stuff is unsupported Notes stuff, but everybody uses it. Its behaviour changes with every major release, there is one option no longer supported in R6. It works very well, so just follow the guidelines in the example above.
0
qwaleteeCommented:
Yes, Sef, but there's also a new undocumented option in R6 allowing you to control whether it is a "dialog" style progress bar, or whether it is a status bar type of progress bar (like R6 uses when making replicas, or like browsers use when downloading a page).

I usually just avoid the mess with a "pretty" print statement that outputs dashes and equal signs to the status bar to indicate progress.
0
Sjef BosmanGroupware ConsultantCommented:
It was already in the code I had, probably borrowed from
http://www.breakingpar.com/bkp/home.nsf/Doc?OpenNavigator&U=DCAADC900DA10EB287256AFB00152C78

Here's another Interesting Link, with quite some drawbacks of the progress bar:
http://www-10.lotus.com/ldd/nd6forum.nsf/0/dff4ca6896f5466585256d98005ece13?OpenDocument
0
Faraj1969System AdministratorAuthor Commented:
Many thanks guys, I appreciate your feedback. I'll use the one HemanthaKumar have provided for now, tho I'm not yet keen to it. Anyhow, in case I was able to write or find a code or something that does what I need exactly, I'll paste here at a later stage.

Kindest Regards.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.