PC Review


Reply
Thread Tools Rate Thread

Best way to show an update

 
 
Duncs
Guest
Posts: n/a
 
      20th Sep 2010
I've got several macros, that run quite a few queries / sections of
VBA code. What I'm looking for is a way to display, unobtrusively,
the name of teh query / piece of code that is currently being run. I
also want to display it and have it change with no interaction from
the user.

So, if Macro1 has the following queries:

qry1
qry2
VBProc_A
qry3
qry4
vbaProc_B
qry5

I'd like the database to show somewhere that it is running qry1, then
when that is finished it is running qry2. Then, when that finishes,
it is running VBAProc_A etc.

I'm not sure on the best way to do this, whether it should be a simple
window with a label / text field that is updated with the name of the
query etc. If so, how would I update the label / text control with
teh name?

Or, is there a better way to do it?

TIA

Duncs
 
Reply With Quote
 
 
 
 
Nick 'The Database Guy'
Guest
Posts: n/a
 
      20th Sep 2010
On Sep 20, 3:41*pm, Duncs <true.kilted.s...@gmail.com> wrote:
> I've got several macros, that run quite a few queries / sections of
> VBA code. *What I'm looking for is a way to display, unobtrusively,
> the name of teh query / piece of code that is currently being run. *I
> also want to display it and have it change with no interaction from
> the user.
>
> So, if Macro1 has the following queries:
>
> qry1
> qry2
> VBProc_A
> qry3
> qry4
> vbaProc_B
> qry5
>
> I'd like the database to show somewhere that it is running qry1, then
> when that is finished it is running qry2. *Then, when that finishes,
> it is running VBAProc_A etc.
>
> I'm not sure on the best way to do this, whether it should be a simple
> window with a label / text field that is updated with the name of the
> query etc. *If so, how would I update the label / text control with
> teh name?
>
> Or, is there a better way to do it?
>
> TIA
>
> Duncs


Hi Duncs,

You could do it in the status bar, to do this you must use the Echo
command in the macro. Set the echo to false and specify the status
bar text as the query that is running. This should be slightly moe
elegant than the label / text control you were going to use.

Good luck,

Nick
 
Reply With Quote
 
Nick 'The Database Guy'
Guest
Posts: n/a
 
      20th Sep 2010
On Sep 20, 3:58*pm, "Nick 'The Database Guy'" <nick...@btinternet.com>
wrote:
> On Sep 20, 3:41*pm, Duncs <true.kilted.s...@gmail.com> wrote:
>
>
>
>
>
> > I've got several macros, that run quite a few queries / sections of
> > VBA code. *What I'm looking for is a way to display, unobtrusively,
> > the name of teh query / piece of code that is currently being run. *I
> > also want to display it and have it change with no interaction from
> > the user.

>
> > So, if Macro1 has the following queries:

>
> > qry1
> > qry2
> > VBProc_A
> > qry3
> > qry4
> > vbaProc_B
> > qry5

>
> > I'd like the database to show somewhere that it is running qry1, then
> > when that is finished it is running qry2. *Then, when that finishes,
> > it is running VBAProc_A etc.

>
> > I'm not sure on the best way to do this, whether it should be a simple
> > window with a label / text field that is updated with the name of the
> > query etc. *If so, how would I update the label / text control with
> > teh name?

>
> > Or, is there a better way to do it?

>
> > TIA

>
> > Duncs

>
> Hi Duncs,
>
> You could do it in the status bar, to do this you must use the Echo
> command in the macro. *Set the echo to false and specify the status
> bar text as the query that is running. *This should be slightly moe
> elegant than the label / text control you were going to use.
>
> Good luck,
>
> Nick- Hide quoted text -
>
> - Show quoted text -


slightly more *
 
Reply With Quote
 
Nick 'The Database Guy'
Guest
Posts: n/a
 
      20th Sep 2010
On Sep 20, 3:58*pm, "Nick 'The Database Guy'" <nick...@btinternet.com>
wrote:
> On Sep 20, 3:58*pm, "Nick 'The Database Guy'" <nick...@btinternet.com>
> wrote:
>
>
>
>
>
> > On Sep 20, 3:41*pm, Duncs <true.kilted.s...@gmail.com> wrote:

>
> > > I've got several macros, that run quite a few queries / sections of
> > > VBA code. *What I'm looking for is a way to display, unobtrusively,
> > > the name of teh query / piece of code that is currently being run. *I
> > > also want to display it and have it change with no interaction from
> > > the user.

>
> > > So, if Macro1 has the following queries:

>
> > > qry1
> > > qry2
> > > VBProc_A
> > > qry3
> > > qry4
> > > vbaProc_B
> > > qry5

>
> > > I'd like the database to show somewhere that it is running qry1, then
> > > when that is finished it is running qry2. *Then, when that finishes,
> > > it is running VBAProc_A etc.

>
> > > I'm not sure on the best way to do this, whether it should be a simple
> > > window with a label / text field that is updated with the name of the
> > > query etc. *If so, how would I update the label / text control with
> > > teh name?

>
> > > Or, is there a better way to do it?

>
> > > TIA

>
> > > Duncs

>
> > Hi Duncs,

>
> > You could do it in the status bar, to do this you must use the Echo
> > command in the macro. *Set the echo to false and specify the status
> > bar text as the query that is running. *This should be slightly moe
> > elegant than the label / text control you were going to use.

>
> > Good luck,

>
> > Nick- Hide quoted text -

>
> > - Show quoted text -

>
> slightly more *- Hide quoted text -
>
> - Show quoted text -


Before you exit the macro don't forget to turn the Echo back on!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why doesn't Vista update show info on the update? Jim Moore Windows Vista General Discussion 12 10th Jul 2008 09:56 PM
Don't show me this update again =?Utf-8?B?TmV0b3JpdXM3Nw==?= Windows XP General 4 13th Feb 2007 09:01 PM
msg box before update also show 'old' value =?Utf-8?B?bm9vZGxlQnJhaW4=?= Microsoft Access Form Coding 3 12th Jun 2006 06:12 AM
Why does Update Rollup 1 show up in my Windows Update? void.no.spam.com@gmail.com Microsoft Windows 2000 5 21st Mar 2006 05:46 AM
Some PCs show new Update Screen, some don't Howard Sartori Windows XP Internet Explorer 0 3rd Aug 2004 12:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:59 AM.