Status Bar Problem

B

Brian Hamilton

Hello All,

I am using SysCmd() to display a progress bar in the status bar while I loop
through some data manipulation routines. The problem is that if a query runs
(using Docmd.RunQuery) within the loop the progress bar is over-written. Is
there a function, method, code etc... that prevents the status bar from
displaying the messages associated with an action query being run? The
"Cocmd.SetWarnings False" call doesn't affect the status bar.

Thanks in advance,
Brian Hamilton.
 
D

Douglas J. Steele

Don't know for certain (because I haven't bothered testing it), but what
happens if you use the .Execute method to run the query, rather than
..RunQuery?
 
B

Brian Hamilton

Thanks Doug, spot on.

Douglas J. Steele said:
Don't know for certain (because I haven't bothered testing it), but what
happens if you use the .Execute method to run the query, rather than
.RunQuery?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top