dbTalk Databases Forums  

Can macro display the Query Name

comp.database.ms-access comp.database.ms-access


Discuss Can macro display the Query Name in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
hedrew3
 
Posts: n/a

Default Can macro display the Query Name - 01-14-2004 , 05:16 PM






I have a bunch of queries that run in a macro, which can take hours,
sometimes, to run.

Is there any way I can have the name of the currently running query be
displayed somewhere on the screen (maybe in status bar or somewhere
else)?

TIA

Pete

Reply With Quote
  #2  
Old   
Bruce Pick
 
Posts: n/a

Default Re: Can macro display the Query Name - 01-14-2004 , 08:54 PM







"hedrew3" <peteg (AT) garlic (DOT) com> wrote

Quote:
I have a bunch of queries that run in a macro, which can take hours,
sometimes, to run.

Is there any way I can have the name of the currently running query be
displayed somewhere on the screen (maybe in status bar or somewhere
else)?

TIA

Pete



Reply With Quote
  #3  
Old   
Bruce Pick
 
Posts: n/a

Default Re: Can macro display the Query Name - 01-14-2004 , 09:00 PM



Here's one way:
Just before running the query, open a small form displaying the name of the
query you're about to run. If your macro closes the query, have it close
the little display form immediately after, and then open another little
display form before starting the next query.

You could even have the form display the time that the query began, by
having an unbound textbox with Control Source set to Now(), which will plug
in the current time when the form is opened.

Bruce Pic

"hedrew3" <peteg (AT) garlic (DOT) com> wrote

Quote:
I have a bunch of queries that run in a macro, which can take hours,
sometimes, to run.

Is there any way I can have the name of the currently running query be
displayed somewhere on the screen (maybe in status bar or somewhere
else)?

TIA

Pete



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.