No screen update during a VBA process when switching back to Acces

A

AlanC

When running a long automated step within VBA, I provide feedback to a user
on progress either through syscmd or a pop up form with a record count, which
works fine. However if I alt-tab out of Access and then come back, the pop-up
form or syscmd no longer update ie they remain static until the automated
step terminates. Runnning Access 2003 - this did not happen on Access 2000.
 
A

AlanC

Can you expand on this or direct to a source for further information - tried
Access Help but found very little
 
L

Larry Linson

AlanC said:
Can you expand on this or direct to a source for further information -
tried
Access Help but found very little

DoEvents releases control back to the Operating System, so it can do work
that was "frozen out" by the executing VBA -- which may include drawing
forms and controls in your own application.

Larry Linson
Microsoft Access MVP
 

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