Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

progress meter of something like that

Status
Not open for further replies.

Pampers

Technical User
Apr 7, 2004
1,300
AN
Hi everyone,
I run a couple of reports that take like 30 seconds or so. I have a WaitForm poping up with this message, and which closes as the report is ready. That works fine.

But now I tried to put something progressing (progress bar) on the form as well, but that will only execute once the report is ready... I tried it with the activeX control and a simulated progress bar, no luck. The forms work fine as stand alone, but not if you call them when the report is being generated. How to go about this?

Pampers [afro]
Keeping it simple can be complicated
 
Hello:

What you want to do is update your progress meter using the TIMER event of the form. Every time that fires, for instance 1 second, have it adjust your progress bar.

There are many examples of how to do this. It depends on your interval.

Regards
Mark
 
tnx mhartman1 for all the info,

[1]The thing with the timer is that the timer won't fire untill the report has been loaded... So the report is loaded, and then the progress meter starts.

[2]Creating a recordset and moving through it (twice), seems like a waiste of resources, since the reports complex query already takes long time to executes, now it has to do it twice (three times if you the move to last record as well).

I just need a simple solutions (like the one with the on timer event) so the user can see the report is still being generated

Pampers [afro]
Keeping it simple can be complicated
 
tnx again mhartman1,
Tried that one before. THis one runs the progress meter first and then executes a query or report. I need something that runs DURING the opening of the report (like a flickering button on a form). Sorry to disappoint...


Pampers [afro]
Keeping it simple can be complicated
 
Tnx mark, the form works well... untill you run a (lengthy) report - and it doesn't matter how I run the report. The form stops flickering untill the report (preview) is done. Is there any possibility to keep the form flickering while access is building its report.


Pampers [afro]
Keeping it simple can be complicated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top